Replace last uses of bcopy() with memcpy()
memcpy() / memmove() are standard everywhere, this lets us remove the configure script checking around bcopy() which helps building on Haiku OS.
This commit is contained in:
@@ -1111,7 +1111,7 @@ SocketList *cavlink_connect(char *host, u_short port)
|
||||
set_lastlog_msg_level(lastlog_level);
|
||||
return NULL;
|
||||
}
|
||||
bcopy(hp->h_addr, (char *)&address, sizeof(address));
|
||||
memcpy(&address, hp->h_addr, sizeof(address));
|
||||
}
|
||||
cav_socket = connect_by_number(host, &port, SERVICE_CLIENT, PROTOCOL_TCP, 1);
|
||||
if (cav_socket < 0)
|
||||
|
||||
Reference in New Issue
Block a user