diff options
Diffstat (limited to '')
-rw-r--r-- | src/listen.c | 4 | ||||
-rw-r--r-- | src/listen.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/listen.c b/src/listen.c index 9fc374c25..67a40f95c 100644 --- a/src/listen.c +++ b/src/listen.c @@ -272,11 +272,7 @@ void closeAllListenSockets(void) g_debug("closing listen socket %i", i); while (close(listenSockets[i]) < 0 && errno == EINTR) ; } - freeAllListenSockets(); -} -void freeAllListenSockets(void) -{ numberOfListenSockets = 0; free(listenSockets); listenSockets = NULL; diff --git a/src/listen.h b/src/listen.h index caf839fcb..625cb006c 100644 --- a/src/listen.h +++ b/src/listen.h @@ -28,7 +28,6 @@ void listenOnPort(void); void getConnections(fd_set * fds); void closeAllListenSockets(void); -void freeAllListenSockets(void); /* fdmax should be initialized to something */ void addListenSocketsToFdSet(fd_set * fds, int *fdmax); |