# HG changeset patch # User Elliott Sales de Andrade # Date 1216265039 0 # Node ID e069c16db5975f3f40fd482ab0ab34b0d97fadf4 # Parent 73f61c4458278fef939ea8f099cb4993ae823878 Always save the MSN transaction in each command, not just for synchronous ones. Apparently, "URL" may or may not be async, but we also send it ourselves, too, and we need the transaction for other things. References #5762. diff -r 73f61c445827 -r e069c16db597 libpurple/protocols/msn/cmdproc.c --- a/libpurple/protocols/msn/cmdproc.c Wed Jul 16 03:53:28 2008 +0000 +++ b/libpurple/protocols/msn/cmdproc.c Thu Jul 17 03:23:59 2008 +0000 @@ -263,7 +263,7 @@ MsnTransaction *trans = NULL; if (cmd->trId) - trans = msn_history_find(cmdproc->history, cmd->trId); + cmd->trans = trans = msn_history_find(cmdproc->history, cmd->trId); if (trans != NULL) if (trans->timer) { @@ -309,8 +309,6 @@ if (cb == NULL && trans != NULL) { - cmd->trans = trans; - if (trans->callbacks != NULL) cb = g_hash_table_lookup(trans->callbacks, cmd->command); }