summaryrefslogtreecommitdiffstats
path: root/src/protocol-native.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol-native.c')
-rw-r--r--src/protocol-native.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocol-native.c b/src/protocol-native.c
index 27b547a6..9af438a9 100644
--- a/src/protocol-native.c
+++ b/src/protocol-native.c
@@ -384,6 +384,7 @@ struct protocol_native* protocol_native_new(struct core *core, struct socket_ser
p->server = server;
p->core = core;
p->connections = idxset_new(NULL, NULL);
+ assert(p->connections);
socket_server_set_callback(p->server, on_connection, p);