Mercurial > dropbear
changeset 539:07a58e4da1ac
use memset() rather than bzero()
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 08 Jun 2009 14:40:29 +0000 |
parents | 7c8cdc5d2269 |
children | 6c906f903f1d |
files | svr-main.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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);