Mercurial > dropbear
diff svr-main.c @ 539:07a58e4da1ac
use memset() rather than bzero()
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 08 Jun 2009 14:40:29 +0000 |
parents | df7f7da7f6e4 |
children | 005530560594 |
line wrap: on
line diff
--- a/svr-main.c Tue Mar 17 22:30:39 2009 +0000 +++ b/svr-main.c Mon Jun 08 14:40:29 2009 +0000 @@ -133,7 +133,7 @@ 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);