changeset 7781:2176fef95d9b

[gaim-migrate @ 8426] Some debugging lines or something committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 06 Dec 2003 22:29:31 +0000
parents 7ab3d01d2c50
children 795b71216887
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sat Dec 06 21:58:46 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Sat Dec 06 22:29:31 2003 +0000
@@ -3038,12 +3038,14 @@
 	destn = va_arg(ap, char *);
 	va_end(ap);
 
-	if (destn != NULL) {
+	if (destn == NULL)
+		buf = g_strdup_printf("Locate family error with no name, tell KingAnt you got this message!");
+	else
 		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);
-	}
+
+	gaim_notify_error(sess->aux_data, NULL, buf,
+					  (reason < msgerrreasonlen) ? _(msgerrreason[reason]) : _("No reason given."));
+	g_free(buf);
 
 	return 1;
 }