# HG changeset patch # User Mark Doliner # Date 1068763601 0 # Node ID d29c2f50ac245d2fba3fb2c7db4d4fff122e5fa6 # Parent 97e385fe462d05eef92b1a205097d295af8fa1e7 [gaim-migrate @ 8118] Just for the release... committer: Tailor Script diff -r 97e385fe462d -r d29c2f50ac24 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Thu Nov 13 21:30:16 2003 +0000 +++ b/src/protocols/oscar/oscar.c Thu Nov 13 22:46:41 2003 +0000 @@ -3037,10 +3037,12 @@ destn = va_arg(ap, char *); va_end(ap); - buf = g_strdup_printf(_("User information for %s unavailable:"), destn); - gaim_notify_error(sess->aux_data, NULL, buf, - (reason < msgerrreasonlen) ? _(msgerrreason[reason]) : _("No reason given.")); - g_free(buf); + if (destn != NULL) { + buf = g_strdup_printf(_("User information for %s unavailable:"), destn); + gaim_notify_error(sess->aux_data, NULL, buf, + (reason < msgerrreasonlen) ? _(msgerrreason[reason]) : _("No reason given.")); + g_free(buf); + } return 1; }