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:
satbaby
2011-03-09 12:55:31 +00:00
parent 42fab7d679
commit 85f5e1110d
36 changed files with 134 additions and 134 deletions

View File

@@ -422,7 +422,7 @@ std::string CUPnPDevice::HTTP(std::string url, std::string post, std::string act
memset(&socktcp, 0, sizeof(struct sockaddr_in));
socktcp.sin_family = AF_INET;
socktcp.sin_port = htons(port);
memcpy((char *)&socktcp.sin_addr, hp->h_addr, hp->h_length);
memmove((char *)&socktcp.sin_addr, hp->h_addr, hp->h_length);
if (connect(t_socket, (struct sockaddr*) &socktcp, sizeof(struct sockaddr_in)))
{