diff options
Diffstat (limited to 'src/listen.c')
-rw-r--r-- | src/listen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/listen.c b/src/listen.c index 9d105e815..8b89ee33a 100644 --- a/src/listen.c +++ b/src/listen.c @@ -53,7 +53,7 @@ int boundPort; static int establishListen(unsigned int port, struct sockaddr *addrp, socklen_t addrlen) { - int pf = 0; + int pf; int sock; int allowReuse = ALLOW_REUSE; @@ -105,8 +105,8 @@ static int establishListen(unsigned int port, static void parseListenConfigParam(unsigned int port, ConfigParam * param) { - struct sockaddr *addrp = NULL; - socklen_t addrlen = 0; + struct sockaddr *addrp; + socklen_t addrlen; struct sockaddr_in sin; #ifdef HAVE_IPV6 struct sockaddr_in6 sin6; |