changeset 10611:41a18bf60ee1

[gaim-migrate @ 12065] I love committing everything twice. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Sat, 19 Feb 2005 02:41:19 +0000
parents 74cc119beceb
children f0fd35985cb0
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Sat Feb 19 02:38:07 2005 +0000
+++ b/src/protocols/yahoo/yahoo.c	Sat Feb 19 02:41:19 2005 +0000
@@ -1960,15 +1960,13 @@
 			guchar *start;
 
 			gaim_debug_warning("yahoo", "Error in YMSG stream, got something not a YMSG packet!");
-			
+
 			start = memchr(yd->rxqueue, 'Y', yd->rxlen);
 			if (start) {
 				g_memmove(yd->rxqueue, start, yd->rxlen - (start - yd->rxqueue));
 				yd->rxlen -= start - yd->rxqueue;
 				continue;
 			} else {
-				/* hmm this could screw up with just the Y, YM, or YMS is at the very
-				   end of the packet */
 				g_free(yd->rxqueue);
 				yd->rxqueue = NULL;
 				yd->rxlen = 0;