Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 10635:6895c4212362
[gaim-migrate @ 12117]
i meant to commit this a while ago, but I ran out of time, and then
got sick.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Wed, 23 Feb 2005 23:39:59 +0000 |
parents | 41a18bf60ee1 |
children | 54ac161a876e |
line wrap: on
line diff
--- 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;