From: John Kohl Date: Thu, 8 Nov 1990 15:39:38 +0000 (+0000) Subject: change bcopy to memcpy X-Git-Tag: krb5-1.0-alpha3~157 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a935d3df9ff8e7de71e9131fb7ed35525c1c3c1e;p=krb5.git change bcopy to memcpy git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1435 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/sample/sserver/sserver.c b/src/appl/sample/sserver/sserver.c index 8b48b4d3b..0d18fb4b1 100644 --- 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) {