comparison src/protocols/oscar/login.c @ 2341:5486d558ecee

[gaim-migrate @ 2354] Arkadiusz Miskiewicz's patches to get automake 1.5 working, and so that it doesn't build .so.0 and .so.0.0.0. i need to do this for plugins/. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 21 Sep 2001 20:47:37 +0000
parents 7ec21662ffc2
children 95b4ec08abec
comparison
equal deleted inserted replaced
2340:b16642ac87b2 2341:5486d558ecee
781 static int hostversions(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs) 781 static int hostversions(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs)
782 { 782 {
783 aim_rxcallback_t userfunc; 783 aim_rxcallback_t userfunc;
784 int vercount; 784 int vercount;
785 fu8_t *versions; 785 fu8_t *versions;
786 int ret = 0;
786 787
787 vercount = aim_bstream_empty(bs)/4; 788 vercount = aim_bstream_empty(bs)/4;
788 versions = aimbs_getraw(bs, aim_bstream_empty(bs)); 789 versions = aimbs_getraw(bs, aim_bstream_empty(bs));
789 790
790 if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype))) 791 if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype)))
791 return userfunc(sess, rx, vercount, versions); 792 ret = userfunc(sess, rx, vercount, versions);
792 793
793 free(versions); 794 free(versions);
794 795
795 return 0; 796 return ret;
796 } 797 }
797 798
798 /* 799 /*
799 * Starting this past week (26 Mar 2001, say), AOL has started sending 800 * Starting this past week (26 Mar 2001, say), AOL has started sending
800 * this nice little extra SNAC. AFAIK, it has never been used until now. 801 * this nice little extra SNAC. AFAIK, it has never been used until now.