[gaim-migrate @ 2275]

Mon, 10 Sep 2001 23:23:54 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Mon, 10 Sep 2001 23:23:54 +0000
changeset 2265
e98463b04393
parent 2264
424695f98528
child 2266
bebc59d79f1b

[gaim-migrate @ 2275]
better notification

src/protocols/msn/msn.c file | annotate | diff | comparison | revisions
--- a/src/protocols/msn/msn.c	Mon Sep 10 23:09:58 2001 +0000
+++ b/src/protocols/msn/msn.c	Mon Sep 10 23:23:54 2001 +0000
@@ -549,8 +549,10 @@
 
 	if (source == -1 || !g_slist_find(connections, gc)) {
 		close(source);
-		g_free(ms->auth);
-		g_free(ms);
+		if (g_slist_find(connections, gc)) {
+			msn_kill_switch(ms);
+			do_error_dialog(_("MSN Error"), _("Gaim was unable to send a message"));
+		}
 		return;
 	}
 

mercurial