change bcopy to memcpy
authorJohn Kohl <jtkohl@mit.edu>
Thu, 8 Nov 1990 15:39:38 +0000 (15:39 +0000)
committerJohn 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

index 8b48b4d3b8461eb917f6e260dced864396f2dbb4..0d18fb4b123fbdd21538db77d10b74c872a1a94a 100644 (file)
@@ -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) {