diff options
author | Matt Johnston <matt@ucc.asn.au> | 2009-06-08 14:40:29 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2009-06-08 14:40:29 +0000 |
commit | 6e78eca7c8c24b456e84faa4f695a05b5e59212d (patch) | |
tree | c7326cbbbd9528fb833d06a7215f2fbffffee8ef /svr-main.c | |
parent | 5d3dae1492325d017255968961bfd129768c2793 (diff) |
use memset() rather than bzero()
--HG--
extra : convert_revision : d44b31a46d0fdfcc92bf4f16e7c49fd49eb40aa1
Diffstat (limited to 'svr-main.c')
-rw-r--r-- | svr-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |