comparison libpurple/protocols/msn/slplink.c @ 22551:c65c96e231b5

Printf warning fixes.
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 27 Mar 2008 02:09:51 +0000
parents a3dc160d7914
children 05cb3f04c01e
comparison
equal deleted inserted replaced
22550:9c83bea8ffd8 22551:c65c96e231b5
596 } 596 }
597 else if (slpmsg->size) 597 else if (slpmsg->size)
598 { 598 {
599 if ((offset + len) > slpmsg->size) 599 if ((offset + len) > slpmsg->size)
600 { 600 {
601 purple_debug_error("msn", "Oversized slpmsg\n"); 601 purple_debug_error("msn", "Oversized slpmsg - msgsize=%lld offset=%d len=%d\n", slpmsg->size, offset, len);
602 g_return_if_reached(); 602 g_return_if_reached();
603 } 603 }
604 else 604 else
605 memcpy(slpmsg->buffer + offset, data, len); 605 memcpy(slpmsg->buffer + offset, data, len);
606 } 606 }