Changeset

8550:f841d359da65

net.connect: Fix to store correct parameter
author Matthew Wild <mwild1@gmail.com>
date Mon, 26 Feb 2018 15:26:08 +0000
parents 8549:69e942c2990f
children 8551:2bd2e94a0496
files net/connect.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/connect.lua	Mon Feb 26 15:25:52 2018 +0000
+++ b/net/connect.lua	Mon Feb 26 15:26:08 2018 +0000
@@ -80,7 +80,7 @@
 		target_resolver = target_resolver;
 		listeners = assert(listeners);
 		options = options or {};
-		cb = cb;
+		data = data;
 	}, pending_connection_mt);
 
 	p:log("debug", "Starting connection process");