Ignore:
Timestamp:
2015-02-20T22:50:54Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
0b9daac, 3d45471, 7733b8c
Parents:
af359b4
git-author:
Indent <please@…> (19-02-15 05:47:20)
git-committer:
dequis <dx@…> (20-02-15 22:50:54)
Message:

Reindent everything to K&R style with tabs

Used uncrustify, with the configuration file in ./doc/uncrustify.cfg

Commit author set to "Indent <please@…>" so that it's easier to
skip while doing git blame.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/buddylist.c

    raf359b4 r5ebff60  
    1818        aim_extractuserinfo(sess, bs, &userinfo);
    1919
    20         if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype)))
     20        if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype))) {
    2121                return userfunc(sess, rx, &userinfo);
     22        }
    2223
    2324        return 0;
     
    3132        int ret = 0;
    3233
    33         /* 
    34          * TLVs follow 
     34        /*
     35         * TLVs follow
    3536         */
    3637        tlvlist = aim_readtlvchain(bs);
     
    3940         * TLV type 0x0001: Maximum number of buddies.
    4041         */
    41         if (aim_gettlv(tlvlist, 0x0001, 1))
     42        if (aim_gettlv(tlvlist, 0x0001, 1)) {
    4243                maxbuddies = aim_gettlv16(tlvlist, 0x0001, 1);
     44        }
    4345
    4446        /*
     
    4850         * list.  (This is called the "reverse list" by a certain
    4951         * other IM protocol.)
    50          * 
     52         *
    5153         */
    52         if (aim_gettlv(tlvlist, 0x0002, 1))
     54        if (aim_gettlv(tlvlist, 0x0002, 1)) {
    5355                maxwatchers = aim_gettlv16(tlvlist, 0x0002, 1);
     56        }
    5457
    5558        /*
     
    5962         */
    6063
    61         if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype)))
     64        if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype))) {
    6265                ret = userfunc(sess, rx, maxbuddies, maxwatchers);
     66        }
    6367
    6468        aim_freetlvchain(&tlvlist);
    6569
    66         return ret; 
     70        return ret;
    6771}
    6872
     
    7074{
    7175
    72         if (snac->subtype == 0x0003)
     76        if (snac->subtype == 0x0003) {
    7377                return rights(sess, mod, rx, snac, bs);
    74         else if ((snac->subtype == 0x000b) || (snac->subtype == 0x000c))
     78        } else if ((snac->subtype == 0x000b) || (snac->subtype == 0x000c)) {
    7579                return buddychange(sess, mod, rx, snac, bs);
     80        }
    7681
    7782        return 0;
Note: See TracChangeset for help on using the changeset viewer.