mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
THAT'S where the bug was!?!?!!!!
This commit is contained in:
parent
ec69b5ee3f
commit
92fcc1a604
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ psycRenderRC psyc_render(psycPacket *packet, char *buffer, size_t buflen)
|
|||
|
||||
if (packet->data.length) // add data\n
|
||||
{
|
||||
memcpy(buffer + cur, packet->data.ptr, packet->method.length);
|
||||
memcpy(buffer + cur, packet->data.ptr, packet->data.length);
|
||||
cur += packet->data.length;
|
||||
buffer[cur++] = '\n';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue