# HG changeset patch # User Tim Ringenbach # Date 1109201999 0 # Node ID 6895c421236201f23bb3c05feb613961eddfa0f9 # Parent 483765e4a26c4f98c59810ee62ef646a501101be [gaim-migrate @ 12117] i meant to commit this a while ago, but I ran out of time, and then got sick. committer: Tailor Script diff -r 483765e4a26c -r 6895c4212362 src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Wed Feb 23 14:27:26 2005 +0000 +++ b/src/protocols/yahoo/yahoo.c Wed Feb 23 23:39:59 2005 +0000 @@ -1961,7 +1961,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;