summaryrefslogtreecommitdiff
path: root/src/common/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/socket.c')
-rw-r--r--src/common/socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index 2dd860715..995aabedb 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -528,6 +528,7 @@ static int create_session(int fd, RecvFunc func_recv, SendFunc func_send, ParseF
session[fd]->func_send = func_send;
session[fd]->func_parse = func_parse;
session[fd]->rdata_tick = last_tick;
+ session[fd]->session_data = NULL;
return 0;
}