projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09a755c
)
use memset in place of bzero
author
John Kohl
<jtkohl@mit.edu>
Thu, 15 Nov 1990 11:21:45 +0000
(11:21 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Thu, 15 Nov 1990 11:21:45 +0000
(11:21 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1452
dc483132
-0cff-0310-8789-
dd5450dbe970
src/appl/sample/sclient/sclient.c
patch
|
blob
|
history
diff --git
a/src/appl/sample/sclient/sclient.c
b/src/appl/sample/sclient/sclient.c
index cfe5163e97b9133433bdc94d376b81b08afc3835..28eb1bdcd62e9c8d04fd2914d1c444cf549bbbdb 100644
(file)
--- 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");