src/protocols/yahoo/yahoo_filexfer.c

changeset 10261
fdea752a175c
parent 10111
61dd88113afc
child 10361
49faae09750d
--- a/src/protocols/yahoo/yahoo_filexfer.c	Thu Nov 25 16:09:47 2004 +0000
+++ b/src/protocols/yahoo/yahoo_filexfer.c	Thu Nov 25 18:35:26 2004 +0000
@@ -391,7 +391,7 @@
 	}
 
 	if (pkt->service == YAHOO_SERVICE_P2PFILEXFER) {
-		if (strcmp("FILEXFER", service) != 0) {
+		if (service && (strcmp("FILEXFER", service) != 0)) {
 			gaim_debug_misc("yahoo", "unhandled service 0x%02x", pkt->service);
 			return;
 		}

mercurial