pidgin: 881df138: fixes a race condition, probably Fixes #...
khc at pidgin.im
khc at pidgin.im
Tue Mar 31 23:40:29 EDT 2009
-----------------------------------------------------------------
Revision: 881df138362222308d7b078687b7576861609e9c
Ancestor: 6572a403c4d945662240548bd49dd8b8a47f6fc8
Author: khc at pidgin.im
Date: 2009-04-01T03:36:06
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/881df138362222308d7b078687b7576861609e9c
Modified files:
libpurple/protocols/msn/soap.c
ChangeLog:
fixes a race condition, probably Fixes #8594 and maybe others
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/soap.c a6c9a90fd13661ea0885013a22674f89da8657db
+++ libpurple/protocols/msn/soap.c c2484b6578c251aa8081f269eafd5f7198ae13f2
@@ -667,6 +667,7 @@ msn_soap_connection_run(gpointer data)
conn->handled_len = 0;
conn->current_request = req;
+ purple_input_remove(conn->event_handle);
conn->event_handle = purple_input_add(conn->ssl->fd,
PURPLE_INPUT_WRITE, msn_soap_write_cb, conn);
if (!msn_soap_write_cb_internal(conn, conn->ssl->fd, PURPLE_INPUT_WRITE, TRUE)) {
More information about the Commits
mailing list