Mercurial > pidgin
changeset 14918:f1e353fa21de
[gaim-migrate @ 17690]
gbooleanize some things. No functionality change.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 07 Nov 2006 02:53:42 +0000 |
parents | f9acffc89b18 |
children | 056c8a27668c |
files | libgaim/protocols/oscar/family_feedbag.c libgaim/protocols/oscar/oscar.h |
diffstat | 2 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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);
--- 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! */