summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcpsrv.c')
-rw-r--r--tcpsrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcpsrv.c b/tcpsrv.c
index 5e544a04..222334a8 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -97,7 +97,7 @@ static void freeAllSockets(int **socks)
(**socks)--;
}
free(*socks);
- socks = NULL;
+ *socks = NULL;
}