comparison libpurple/protocols/oscar/family_feedbag.c @ 16306:6a974950d2a8

Don't send a "transaction end" if we haven't sent a "transaction begin"
author Mark Doliner <mark@kingant.net>
date Sun, 22 Apr 2007 18:49:01 +0000
parents aae14296a349
children 9326d4cf5497
comparison
equal deleted inserted replaced
16302:03532b86c20f 16306:6a974950d2a8
548 } 548 }
549 } 549 }
550 550
551 /* We're out of stuff to do, so tell the AIM servers we're done and exit */ 551 /* We're out of stuff to do, so tell the AIM servers we're done and exit */
552 if (!od->ssi.pending) { 552 if (!od->ssi.pending) {
553 aim_ssi_modend(od); 553 if (od->ssi.in_transaction) {
554 od->ssi.in_transaction = FALSE; 554 aim_ssi_modend(od);
555 od->ssi.in_transaction = FALSE;
556 }
555 return 0; 557 return 0;
556 } 558 }
557 559
558 /* If this is the first in a series of add/mod/del 560 /* If this is the first in a series of add/mod/del
559 * requests then send the "begin transaction" message. */ 561 * requests then send the "begin transaction" message. */