src/protocols/oscar/oscar.c

changeset 7781
db624418e528
parent 7693
1f736efbd12d
child 7793
9d6043375b81
--- 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;
 }

mercurial