Use bcopy() instead of memmove().
This commit is contained in:
parent
e31c062e0b
commit
dfbc79ffbf
@ -337,7 +337,7 @@ ProxyEncodeTcpStream(struct alias_link *lnk,
|
||||
p = (char *)pip;
|
||||
p += hlen;
|
||||
|
||||
memmove(p + slen, p, dlen);
|
||||
bcopy(p + slen, p, dlen);
|
||||
memcpy(p, buffer, slen);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user