These are the changes to eliminate most of the arbitrary limits in the
[citadel.git] / citadel / ipc_c_tcp.c
index c408136babdb4de2152bd5ecdc535cf264184db8..71b06adef632ebc15a725bfadf59cfe27f9d9076 100644 (file)
@@ -77,7 +77,7 @@ char *protocol; {
        
        phe=gethostbyname(host);
        if (phe) {
-               bcopy(phe->h_addr,(char *)&sin.sin_addr,phe->h_length);
+               memcpy(phe->h_addr,(char *)&sin.sin_addr,phe->h_length);
                }
        else if ((sin.sin_addr.s_addr = inet_addr(host))==INADDR_NONE) {
                fprintf(stderr,"Can't get %s host entry: %s\n",