Mercurial > pidgin.yaz
changeset 29245:49f881831eb9
*** Plucked rev f39cd1fed08fe5f5e3165a087fcc36ed984a6eee (f05c54b03e6bbfdbff38c01697fbd353a969e05e):
oscar: Avoid a printf(\"%s\", NULL) crash when creating an AIM room.
Both of these strings appear to be optional in parseinfo_create(), so we
can't rely on their being non-NULL.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 07 Jan 2010 23:44:05 +0000 |
parents | 50256289be74 |
children | 1428d59119cd |
files | libpurple/protocols/oscar/oscar.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c Thu Jan 07 23:43:26 2010 +0000 +++ b/libpurple/protocols/oscar/oscar.c Thu Jan 07 23:44:05 2010 +0000 @@ -3576,9 +3576,9 @@ purple_debug_misc("oscar", "created room: %s %hu %hu %hu %u %hu %hu %hhu %hu %s %s\n", - fqcn, exchange, instance, flags, createtime, + fqcn ? fqcn : "(null)", exchange, instance, flags, createtime, maxmsglen, maxoccupancy, createperms, unknown, - name, ck); + name ? name : "(null)", ck); aim_chat_join(od, exchange, ck, instance); } break;