# HG changeset patch # User Mark Doliner # Date 1162868022 0 # Node ID f1e353fa21dec6c6598b04edae59f65dbcbadb1f # Parent f9acffc89b18c6b985f49329e953210f88d77386 [gaim-migrate @ 17690] gbooleanize some things. No functionality change. committer: Tailor Script diff -r f9acffc89b18 -r f1e353fa21de libgaim/protocols/oscar/family_feedbag.c --- a/libgaim/protocols/oscar/family_feedbag.c Tue Nov 07 02:50:09 2006 +0000 +++ b/libgaim/protocols/oscar/family_feedbag.c Tue Nov 07 02:53:42 2006 +0000 @@ -570,7 +570,7 @@ /* Make sure we don't send anything else between now * and when we receive the ack for the following operation */ - od->ssi.waiting_for_ack = 1; + od->ssi.waiting_for_ack = TRUE; /* Now go mail off our data and wait 4 to 6 weeks */ aim_ssi_addmoddel(od); @@ -1316,7 +1316,7 @@ for (cur=od->ssi.official; cur; cur=cur->next) aim_ssi_itemlist_add(&od->ssi.local, cur->name, cur->gid, cur->bid, cur->type, cur->data); - od->ssi.received_data = 1; + od->ssi.received_data = TRUE; if ((userfunc = aim_callhandler(od, snac->family, snac->subtype))) ret = userfunc(od, conn, frame, fmtver, od->ssi.numitems, od->ssi.timestamp); @@ -1645,7 +1645,7 @@ /* If we're not waiting for any more acks, then send more SNACs */ if (!od->ssi.pending) { - od->ssi.waiting_for_ack = 0; + od->ssi.waiting_for_ack = FALSE; aim_ssi_sync(od); } @@ -1664,7 +1664,7 @@ int ret = 0; aim_rxcallback_t userfunc; - od->ssi.received_data = 1; + od->ssi.received_data = TRUE; if ((userfunc = aim_callhandler(od, snac->family, snac->subtype))) ret = userfunc(od, conn, frame); diff -r f9acffc89b18 -r f1e353fa21de libgaim/protocols/oscar/oscar.h --- a/libgaim/protocols/oscar/oscar.h Tue Nov 07 02:50:09 2006 +0000 +++ b/libgaim/protocols/oscar/oscar.h Tue Nov 07 02:53:42 2006 +0000 @@ -478,18 +478,18 @@ struct aim_userinfo_s *userinfo; struct userinfo_node *torequest; struct userinfo_node *requested; - int waiting_for_response; + gboolean waiting_for_response; } locate; /* Server-stored information (ssi) */ struct { - int received_data; + gboolean received_data; guint16 numitems; struct aim_ssi_item *official; struct aim_ssi_item *local; struct aim_ssi_tmp *pending; time_t timestamp; - int waiting_for_ack; + gboolean waiting_for_ack; } ssi; /* TODO: Implement this as a HashTable for HUGE speed improvement! */