summaryrefslogtreecommitdiff
path: root/proxy_lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy_lua.c')
-rw-r--r--proxy_lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy_lua.c b/proxy_lua.c
index aa0ea4e..5f5707c 100644
--- a/proxy_lua.c
+++ b/proxy_lua.c
@@ -104,7 +104,7 @@ static int mcplib_backend(lua_State *L) {
strncpy(be->name, name, MAX_NAMELEN);
strncpy(be->port, port, MAX_PORTLEN);
be->depth = 0;
- be->rbuf = NULL;
+ be->rbufused = 0;
be->failed_count = 0;
STAILQ_INIT(&be->io_head);
be->state = mcp_backend_read;