aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/listen.c8
-rw-r--r--src/listen.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/src/listen.c b/src/listen.c
index 56b8749d6..612c5c1b1 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -222,14 +222,6 @@ void freeAllListenSockets() {
listenSockets = NULL;
}
-int isAListenSocket(int socket) {
- int i;
-
- for(i=0; listenSockets[i] != socket && i<numberOfListenSockets; i++);
-
- return (i < numberOfListenSockets);
-}
-
void getConnections(fd_set * fds) {
int i;
int fd = 0;
diff --git a/src/listen.h b/src/listen.h
index ebba38e9e..db8436c9e 100644
--- a/src/listen.h
+++ b/src/listen.h
@@ -30,8 +30,6 @@ void listenOnPort();
void getConnections(fd_set * fds);
-int isAListenSocket(int sock);
-
void closeAllListenSockets();
void freeAllListenSockets();