changeset 2082:3937f5eb6d75

[gaim-migrate @ 2092] fix solaris stuffs. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 24 Jul 2001 22:23:23 +0000
parents d83fe4ac3d7e
children f5659096bcd6
files src/oscar.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/oscar.c	Mon Jul 23 20:14:42 2001 +0000
+++ b/src/oscar.c	Tue Jul 24 22:23:23 2001 +0000
@@ -2042,7 +2042,7 @@
 
 	aim_getbuildstring(buildbuf, sizeof(buildbuf));
 
-	debug_printf("MOTD: %s (%d)\n", msg, id);
+	debug_printf("MOTD: %s (%d)\n", msg ? msg : "Unknown", id);
 	debug_printf("Gaim %s / Libfaim %s\n", VERSION, buildbuf);
 	if (id != 4)
 		do_error_dialog(_("Your connection may be lost."),