changeset 3339:afa68a8feee2

[gaim-migrate @ 3358] Patch [ 573779 ] Fix ugly bug in gg plugin (caused sig11) (Thanks, Arkadiusz Miskiewicz) committer: Tailor Script <tailor@pidgin.im>
author Jim Seymour <jseymour>
date Fri, 28 Jun 2002 01:47:12 +0000
parents bf8d5c825297
children f56b36347375
files src/protocols/gg/gg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/gg/gg.c	Thu Jun 27 23:47:28 2002 +0000
+++ b/src/protocols/gg/gg.c	Fri Jun 28 01:47:12 2002 +0000
@@ -1,6 +1,6 @@
 /*
  * gaim - Gadu-Gadu Protocol Plugin
- * $Id: gg.c 3114 2002-03-28 18:22:49Z seanegan $
+ * $Id: gg.c 3358 2002-06-28 01:47:12Z jseymour $
  *
  * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL>
  * 
@@ -580,9 +580,9 @@
 	if (gc->inpa)
 		gaim_input_remove(gc->inpa);
 	gg_logoff(gd->sess);
+	gd->own_status = GG_STATUS_NOT_AVAIL;
 	gg_free_session(gd->sess);
 	g_free(gc->proto_data);
-	gd->own_status = GG_STATUS_NOT_AVAIL;
 }
 
 static int agg_send_im(struct gaim_connection *gc, char *who, char *msg, int len, int flags)