Mercurial > pidgin
comparison src/protocols/yahoo/yahoo_filexfer.c @ 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 | 8490f2e292a6 |
| children | f57369469684 |
comparison
equal
deleted
inserted
replaced
| 10260:a2bbfdcc325d | 10261:d4e9ff2edc4e |
|---|---|
| 389 if (pair->key == 49) | 389 if (pair->key == 49) |
| 390 service = pair->value; | 390 service = pair->value; |
| 391 } | 391 } |
| 392 | 392 |
| 393 if (pkt->service == YAHOO_SERVICE_P2PFILEXFER) { | 393 if (pkt->service == YAHOO_SERVICE_P2PFILEXFER) { |
| 394 if (strcmp("FILEXFER", service) != 0) { | 394 if (service && (strcmp("FILEXFER", service) != 0)) { |
| 395 gaim_debug_misc("yahoo", "unhandled service 0x%02x", pkt->service); | 395 gaim_debug_misc("yahoo", "unhandled service 0x%02x", pkt->service); |
| 396 return; | 396 return; |
| 397 } | 397 } |
| 398 } | 398 } |
| 399 | 399 |
