Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 4848:e6b5cb0f2bd2
[gaim-migrate @ 5173]
Apparently trying to print a null string on SunOS x5.9 crashes Gaim.
Thanks to Taso N. Devetzis for pointing this out and suggesting a fix.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 21 Mar 2003 20:33:03 +0000 |
parents | 654eb87fb336 |
children | fbfdacf7c611 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Fri Mar 21 17:27:03 2003 +0000 +++ b/src/protocols/oscar/oscar.c Fri Mar 21 20:33:03 2003 +0000 @@ -4781,7 +4781,7 @@ va_end(ap); while (retval) { - debug_printf("ssi: status is 0x%04hx for a 0x%04hx action with name %s\n", retval->ack, retval->action, retval->item ? retval->item->name : "no item"); + debug_printf("ssi: status is 0x%04hx for a 0x%04hx action with name %s\n", retval->ack, retval->action, retval->item ? (retval->item->name ? retval->item->name : "no name") : "no item"); if (retval->ack != 0xffff) switch (retval->ack) {