changeset 3536:f4cec5d41a89

[gaim-migrate @ 3610] crashfix. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 19 Sep 2002 16:47:17 +0000
parents 424f38c56787
children d49f2c77ee63
files src/protocols/irc/irc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Wed Sep 18 17:06:27 2002 +0000
+++ b/src/protocols/irc/irc.c	Thu Sep 19 16:47:17 2002 +0000
@@ -914,7 +914,7 @@
 			char *errmsg1 = strrchr(text, ':');
 			g_snprintf(errmsg, sizeof(errmsg), "IRC Error %d", n);
 			if (errmsg)
-				do_error_dialog(errmsg, errmsg1+1, GAIM_ERROR);
+				do_error_dialog(errmsg, errmsg1 ? errmsg1+1 : NULL, GAIM_ERROR);
 		}
 		break;
 	}