changeset 2265:2f03cfd21fc2

[gaim-migrate @ 2275] better notification committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 10 Sep 2001 23:23:54 +0000
parents 2993b6091a53
children 0844f0bdf119
files src/protocols/msn/msn.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
 	}