aboutsummaryrefslogtreecommitdiffstats
path: root/src/listen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/listen.c')
-rw-r--r--src/listen.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/listen.c b/src/listen.c
index 323bf430f..9d105e815 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -48,7 +48,7 @@
static int *listenSockets;
static int numberOfListenSockets;
-static int boundPort;
+int boundPort;
static int establishListen(unsigned int port,
struct sockaddr *addrp, socklen_t addrlen)
@@ -251,8 +251,3 @@ void getConnections(fd_set * fds)
}
}
}
-
-int getBoundPort(void)
-{
- return boundPort;
-}