projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b3da85
)
change bcopy to memcpy
author
John Kohl
<jtkohl@mit.edu>
Thu, 8 Nov 1990 15:39:38 +0000
(15:39 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Thu, 8 Nov 1990 15:39:38 +0000
(15:39 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1435
dc483132
-0cff-0310-8789-
dd5450dbe970
src/appl/sample/sserver/sserver.c
patch
|
blob
|
history
diff --git
a/src/appl/sample/sserver/sserver.c
b/src/appl/sample/sserver/sserver.c
index 8b48b4d3b8461eb917f6e260dced864396f2dbb4..0d18fb4b123fbdd21538db77d10b74c872a1a94a 100644
(file)
--- a/
src/appl/sample/sserver/sserver.c
+++ b/
src/appl/sample/sserver/sserver.c
@@
-117,7
+117,7
@@
char *argv[];
syslog(LOG_ERR, "no memory allocating addr");
exit(1);
}
-
bcopy((char *)&peername.sin_addr, (char *)peeraddr.contents
,
+
memcpy((char *)peeraddr.contents, (char *)&peername.sin_addr
,
peeraddr.length);
if ((retval = krb5_net_read(0, (char *)&xmitlen, sizeof(xmitlen))) <= 0) {