From: Ezra Peisach Date: Wed, 24 Jul 1996 18:33:24 +0000 (+0000) Subject: Use memset instead of bzero X-Git-Tag: krb5-1.0-beta7~284 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=049fbd802f1680f898f1be633052b0bf7f177c25;p=krb5.git Use memset instead of bzero git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8798 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog index d1827574a..17e3ca778 100644 --- a/src/lib/rpc/ChangeLog +++ b/src/lib/rpc/ChangeLog @@ -1,5 +1,7 @@ Wed Jul 24 07:58:38 1996 Ezra Peisach + * pmap_rmt.c (clnt_broadcast): Use memset insetad of bzero. + * Makefile.in (DEPLIBS): Use correct version number for gssapi_krb5 dependency. diff --git a/src/lib/rpc/pmap_rmt.c b/src/lib/rpc/pmap_rmt.c index 6a2376763..743d7fc30 100644 --- a/src/lib/rpc/pmap_rmt.c +++ b/src/lib/rpc/pmap_rmt.c @@ -280,7 +280,7 @@ clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult) mask = (1 << sock); #endif /* def FD_SETSIZE */ nets = getbroadcastnets(addrs, sock, inbuf); - bzero((char *)&baddr, sizeof (baddr)); + memset(&baddr, 0, sizeof (baddr)); baddr.sin_family = AF_INET; baddr.sin_port = htons(PMAPPORT); baddr.sin_addr.s_addr = htonl(INADDR_ANY);