comparison 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
comparison
equal deleted inserted replaced
10634:483765e4a26c 10635:6895c4212362
1959 * are you trying to pull? */ 1959 * are you trying to pull? */
1960 guchar *start; 1960 guchar *start;
1961 1961
1962 gaim_debug_warning("yahoo", "Error in YMSG stream, got something not a YMSG packet!"); 1962 gaim_debug_warning("yahoo", "Error in YMSG stream, got something not a YMSG packet!");
1963 1963
1964 start = memchr(yd->rxqueue, 'Y', yd->rxlen); 1964 start = memchr(yd->rxqueue + 1, 'Y', yd->rxlen - 1);
1965 if (start) { 1965 if (start) {
1966 g_memmove(yd->rxqueue, start, yd->rxlen - (start - yd->rxqueue)); 1966 g_memmove(yd->rxqueue, start, yd->rxlen - (start - yd->rxqueue));
1967 yd->rxlen -= start - yd->rxqueue; 1967 yd->rxlen -= start - yd->rxqueue;
1968 continue; 1968 continue;
1969 } else { 1969 } else {