From: John Kohl Date: Thu, 15 Nov 1990 11:21:45 +0000 (+0000) Subject: use memset in place of bzero X-Git-Tag: krb5-1.0-alpha3~141 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c59b2271e89d41298b9433c45ab5c57c3c8ab477;p=krb5.git use memset in place of bzero git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1452 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/sample/sclient/sclient.c b/src/appl/sample/sclient/sclient.c index cfe5163e9..28eb1bdcd 100644 --- a/src/appl/sample/sclient/sclient.c +++ b/src/appl/sample/sclient/sclient.c @@ -68,7 +68,7 @@ char *argv[]; } /* clear out the structure first */ - (void) bzero((char *)&sin, sizeof(sin)); + (void) memset((char *)&sin, 0, sizeof(sin)); /* find the port number for knetd */ sp = getservbyname(SAMPLE_SERVICE, "tcp");