projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bd10d5
)
BUG/MINOR: Lua: variable already initialized
author
Thierry FOURNIER
<thierry.fournier@ozon.io>
Sun, 16 Jul 2017 14:35:53 +0000
(16:35 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Tue, 18 Jul 2017 04:41:58 +0000
(06:41 +0200)
The variable strm->hlua is already initilized by the function stream_new().
src/hlua.c
patch
|
blob
|
history
diff --git
a/src/hlua.c
b/src/hlua.c
index
71812a6
..
35acff7
100644
(file)
--- a/
src/hlua.c
+++ b/
src/hlua.c
@@
-2356,7
+2356,6
@@
__LJMP static int hlua_socket_new(lua_State *L)
/* Configure an empty Lua for the stream. */
socket->s = strm;
- strm->hlua = NULL;
/* Configure "right" stream interface. this "si" is used to connect
* and retrieve data from the server. The connection is initialized