mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
memcpy -> memmove
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1278 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -84,7 +84,7 @@ send_ping( const char *host, struct sockaddr_in *taddr )
|
||||
}
|
||||
|
||||
if(( hp = gethostbyname( host )) != NULL ){
|
||||
memcpy( &taddr->sin_addr, hp->h_addr_list[0], sizeof( taddr->sin_addr ));
|
||||
memmove( &taddr->sin_addr, hp->h_addr_list[0], sizeof( taddr->sin_addr ));
|
||||
taddr->sin_port = 0;
|
||||
taddr->sin_family = AF_INET;
|
||||
}
|
||||
|
Reference in New Issue
Block a user