summaryrefslogtreecommitdiffhomepage
path: root/svr-main.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2009-06-08 14:40:29 +0000
committerMatt Johnston <matt@ucc.asn.au>2009-06-08 14:40:29 +0000
commit6e78eca7c8c24b456e84faa4f695a05b5e59212d (patch)
treec7326cbbbd9528fb833d06a7215f2fbffffee8ef /svr-main.c
parent5d3dae1492325d017255968961bfd129768c2793 (diff)
use memset() rather than bzero()
--HG-- extra : convert_revision : d44b31a46d0fdfcc92bf4f16e7c49fd49eb40aa1
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);