summaryrefslogtreecommitdiff
path: root/proto_proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_proxy.c')
-rw-r--r--proto_proxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto_proxy.c b/proto_proxy.c
index 3bcaf9c..952c897 100644
--- a/proto_proxy.c
+++ b/proto_proxy.c
@@ -166,6 +166,7 @@ void proxy_thread_init(void *ctx, LIBEVENT_THREAD *thr) {
fprintf(stderr, "Failed to allocate proxy thread stats\n");
exit(EXIT_FAILURE);
}
+ thr->proxy_ctx = ctx;
// Initialize the lua state.
lua_State *L = luaL_newstate();