aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/connect.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/connect.lua b/net/connect.lua
index a0f51499..02ab4cc0 100644
--- a/net/connect.lua
+++ b/net/connect.lua
@@ -80,7 +80,7 @@ local function connect(target_resolver, listeners, options, data)
target_resolver = target_resolver;
listeners = assert(listeners);
options = options or {};
- cb = cb;
+ data = data;
}, pending_connection_mt);
p:log("debug", "Starting connection process");