From 049fbd802f1680f898f1be633052b0bf7f177c25 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 24 Jul 1996 18:33:24 +0000 Subject: [PATCH] Use memset instead of bzero git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8798 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/rpc/ChangeLog | 2 ++ src/lib/rpc/pmap_rmt.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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); -- 2.26.2