From 6e78eca7c8c24b456e84faa4f695a05b5e59212d Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Mon, 8 Jun 2009 14:40:29 +0000 Subject: [PATCH] use memset() rather than bzero() --HG-- extra : convert_revision : d44b31a46d0fdfcc92bf4f16e7c49fd49eb40aa1 --- svr-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);