Mercurial > pidgin
changeset 10261:d4e9ff2edc4e
[gaim-migrate @ 11405]
This should fix segfault bug 1072604. Oops.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Thu, 25 Nov 2004 18:35:26 +0000 |
parents | a2bbfdcc325d |
children | 7f487c725a90 |
files | src/protocols/yahoo/yahoo_filexfer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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; }