# HG changeset patch # User Mark Doliner # Date 1177267741 0 # Node ID 6a974950d2a84daf9c18ffc7ed6ce5088de56dac # Parent 03532b86c20ff42d28606dbc0efacb000d3c16a5 Don't send a "transaction end" if we haven't sent a "transaction begin" diff -r 03532b86c20f -r 6a974950d2a8 libpurple/protocols/oscar/family_feedbag.c --- a/libpurple/protocols/oscar/family_feedbag.c Sun Apr 22 18:20:05 2007 +0000 +++ b/libpurple/protocols/oscar/family_feedbag.c Sun Apr 22 18:49:01 2007 +0000 @@ -550,8 +550,10 @@ /* We're out of stuff to do, so tell the AIM servers we're done and exit */ if (!od->ssi.pending) { - aim_ssi_modend(od); - od->ssi.in_transaction = FALSE; + if (od->ssi.in_transaction) { + aim_ssi_modend(od); + od->ssi.in_transaction = FALSE; + } return 0; }