[evolution-patches] mail-display fetch_cancel() patch
- From: Jeffrey Stedfast <fejj ximian com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] mail-display fetch_cancel() patch
- Date: 19 May 2003 10:38:46 -0400
Might be related to bug #43234 and bug #43306
Jeff
--
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com - www.ximian.com
? 42118.patch
? 42120.patch
? 43234.patch
? passwd-prompt.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2727
diff -u -r1.2727 ChangeLog
--- ChangeLog 18 May 2003 20:20:28 -0000 1.2727
+++ ChangeLog 19 May 2003 14:34:57 -0000
@@ -1,3 +1,10 @@
+2003-05-18 Jeffrey Stedfast <fejj ximian com>
+
+ * mail-display.c (fetch_cancel): Free/cancel all of the active
+ soup connections. As far as I could tell, the previous loop to do
+ this would just keep cancelling the same connection. Might be
+ related to bug #43234.
+
2003-05-17 Larry Ewing <lewing ximian com>
* GNOME_Evolution_Mail.server.in.in: remove font prefs server from
Index: mail-display.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-display.c,v
retrieving revision 1.277
diff -u -r1.277 mail-display.c
--- mail-display.c 14 May 2003 18:47:10 -0000 1.277
+++ mail-display.c 19 May 2003 14:34:59 -0000
@@ -1517,9 +1517,9 @@
}
/* cancel the rest, cancellation will free it/etc */
- while (!e_dlist_empty(&md->priv->fetch_active)) {
- rd = (struct _remote_data *)md->priv->fetch_active.head;
- soup_message_cancel(rd->msg);
+ while ((rd = (struct _remote_data *) e_dlist_remhead (&md->priv->fetch_active))) {
+ soup_message_cancel (rd->msg);
+ fetch_free (rd);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]