memcpy -> memmove

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1278 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 85f5e1110d
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-03-09 (Wed, 09 Mar 2011)
This commit is contained in:
Jacek Jendrzej
2011-03-09 12:55:31 +00:00
parent 9687d100f1
commit 4ae229aea7
36 changed files with 134 additions and 134 deletions

View File

@@ -86,7 +86,7 @@ void packet_stdout (int fd, unsigned char * buf, int count, void * /*p*/)
/* send buffer is not empty, so copy from
input buffer to get a complete packet */
if (writebuf_size) {
memcpy(writebuf + writebuf_size, buf, size);
memmove(writebuf + writebuf_size, buf, size);
bp = writebuf;
}
@@ -127,7 +127,7 @@ void packet_stdout (int fd, unsigned char * buf, int count, void * /*p*/)
* then store them in the send buffer and increase send
* buffer size */
if (count) {
memcpy(writebuf + writebuf_size, buf, count);
memmove(writebuf + writebuf_size, buf, count);
writebuf_size += count;
}
}