# HG changeset patch # User Ka-Hing Cheung # Date 1238556966 0 # Node ID 1a701a4ceae3aef1386c977745f1eb1834ae95a7 # Parent 9aa672807759ee29812837f26feed0fd62af7214 fixes a race condition, probably Fixes #8594 and maybe others diff -r 9aa672807759 -r 1a701a4ceae3 libpurple/protocols/msn/soap.c --- a/libpurple/protocols/msn/soap.c Thu Mar 26 05:34:15 2009 +0000 +++ b/libpurple/protocols/msn/soap.c Wed Apr 01 03:36:06 2009 +0000 @@ -667,6 +667,7 @@ 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)) {