Mercurial > pidgin
comparison libgaim/protocols/oscar/family_feedbag.c @ 15085:f3573d941d66
[gaim-migrate @ 17871]
Minor cleanup. Mostly make some functions void instead of int where the
return value was always 0 and wasn't used
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 02 Dec 2006 08:03:45 +0000 |
parents | 57dcc53e77a4 |
children |
comparison
equal
deleted
inserted
replaced
15084:e0d70bba8290 | 15085:f3573d941d66 |
---|---|
1348 FlapConnection *conn; | 1348 FlapConnection *conn; |
1349 | 1349 |
1350 if (!od || !(conn = flap_connection_findbygroup(od, SNAC_FAMILY_FEEDBAG))) | 1350 if (!od || !(conn = flap_connection_findbygroup(od, SNAC_FAMILY_FEEDBAG))) |
1351 return -EINVAL; | 1351 return -EINVAL; |
1352 | 1352 |
1353 return aim_genericreq_n(od, conn, SNAC_FAMILY_FEEDBAG, 0x0007); | 1353 aim_genericreq_n(od, conn, SNAC_FAMILY_FEEDBAG, 0x0007); |
1354 | |
1355 return 0; | |
1354 } | 1356 } |
1355 | 1357 |
1356 /* | 1358 /* |
1357 * Subtype 0x0008/0x0009/0x000a - SSI Add/Mod/Del Item(s). | 1359 * Subtype 0x0008/0x0009/0x000a - SSI Add/Mod/Del Item(s). |
1358 * | 1360 * |
1692 FlapConnection *conn; | 1694 FlapConnection *conn; |
1693 | 1695 |
1694 if (!od || !(conn = flap_connection_findbygroup(od, SNAC_FAMILY_FEEDBAG))) | 1696 if (!od || !(conn = flap_connection_findbygroup(od, SNAC_FAMILY_FEEDBAG))) |
1695 return -EINVAL; | 1697 return -EINVAL; |
1696 | 1698 |
1697 return aim_genericreq_n(od, conn, SNAC_FAMILY_FEEDBAG, SNAC_SUBTYPE_FEEDBAG_EDITSTART); | 1699 aim_genericreq_n(od, conn, SNAC_FAMILY_FEEDBAG, SNAC_SUBTYPE_FEEDBAG_EDITSTART); |
1700 | |
1701 return 0; | |
1698 } | 1702 } |
1699 | 1703 |
1700 /* | 1704 /* |
1701 * Subtype 0x0012 - SSI End Data Modification. | 1705 * Subtype 0x0012 - SSI End Data Modification. |
1702 * | 1706 * |
1708 FlapConnection *conn; | 1712 FlapConnection *conn; |
1709 | 1713 |
1710 if (!od || !(conn = flap_connection_findbygroup(od, SNAC_FAMILY_FEEDBAG))) | 1714 if (!od || !(conn = flap_connection_findbygroup(od, SNAC_FAMILY_FEEDBAG))) |
1711 return -EINVAL; | 1715 return -EINVAL; |
1712 | 1716 |
1713 return aim_genericreq_n(od, conn, SNAC_FAMILY_FEEDBAG, SNAC_SUBTYPE_FEEDBAG_EDITSTOP); | 1717 aim_genericreq_n(od, conn, SNAC_FAMILY_FEEDBAG, SNAC_SUBTYPE_FEEDBAG_EDITSTOP); |
1718 | |
1719 return 0; | |
1714 } | 1720 } |
1715 | 1721 |
1716 /* | 1722 /* |
1717 * Subtype 0x0014 - Grant authorization | 1723 * Subtype 0x0014 - Grant authorization |
1718 * | 1724 * |