summaryrefslogtreecommitdiff
path: root/svr-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-main.c')
-rw-r--r--svr-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-main.c b/svr-main.c
index 8d57084..45ea4be 100644
--- a/svr-main.c
+++ b/svr-main.c
@@ -133,7 +133,7 @@ void main_noinetd() {
for (i = 0; i < MAX_UNAUTH_CLIENTS; i++) {
childpipes[i] = -1;
}
- bzero(preauth_addrs, sizeof(preauth_addrs));
+ memset(preauth_addrs, 0x0, sizeof(preauth_addrs));
/* Set up the listening sockets */
listensockcount = listensockets(listensocks, MAX_LISTEN_ADDR, &maxsock);