gaim/gaim

0a87ab15c790
Parents e672ba09c2b6
Children 62a240f862dd
Tim asked that I commit this for him as he is not feeling well.
--- a/src/protocols/yahoo/yahoo.c Thu Feb 24 18:37:00 2005 -0500
+++ b/src/protocols/yahoo/yahoo.c Thu Feb 24 19:11:16 2005 -0500
@@ -2173,7 +2173,7 @@
gaim_debug_warning("yahoo", "Error in YMSG stream, got something not a YMSG packet!");
- start = memchr(yd->rxqueue, 'Y', yd->rxlen);
+ start = memchr(yd->rxqueue + 1, 'Y', yd->rxlen - 1);
if (start) {
g_memmove(yd->rxqueue, start, yd->rxlen - (start - yd->rxqueue));
yd->rxlen -= start - yd->rxqueue;