summaryrefslogtreecommitdiffstats
path: root/src/appl/sample
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-11-15 11:21:45 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-11-15 11:21:45 +0000
commitc59b2271e89d41298b9433c45ab5c57c3c8ab477 (patch)
tree188fa591d0e26c23d4e47ed6eb1ab37d30ebe2ad /src/appl/sample
parent09a755c69653f91bfc72dfa7096ce7e818654238 (diff)
downloadkrb5-c59b2271e89d41298b9433c45ab5c57c3c8ab477.tar.gz
krb5-c59b2271e89d41298b9433c45ab5c57c3c8ab477.tar.xz
krb5-c59b2271e89d41298b9433c45ab5c57c3c8ab477.zip
use memset in place of bzero
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1452 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/sample')
-rw-r--r--src/appl/sample/sclient/sclient.c2
1 files changed, 1 insertions, 1 deletions
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");