BUG/MINOR: Lua: variable already initialized

The variable strm->hlua is already initilized by the function stream_new().
This commit is contained in:
Thierry FOURNIER 2017-07-16 16:35:53 +02:00 committed by Willy Tarreau
parent 7bd10d58d3
commit 6b546a6048

View File

@ -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