Commit 39d64a99 authored by Jonathan Jenkins's avatar Jonathan Jenkins

Bad memcpy offset for resource lp

parent 626cebb5
......@@ -151,7 +151,7 @@ static void resource_response(
memcpy(((char*)msg)+m->i.msg_header_offset, &h, sizeof(h));
memcpy(((char*)msg)+m->i.msg_callback_offset, &c, sizeof(c));
if (m->i.msg_callback_misc_size > 0){
memcpy(((char*)msg)+m->i.msg_callback_offset,
memcpy(((char*)msg)+m->i.msg_callback_misc_offset,
m->i.msg_callback_misc, m->i.msg_callback_misc_size);
}
tw_event_send(e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment