comparison src/protocols/oscar/misc.c @ 13254:e9802db22b06

[gaim-migrate @ 15620] This is the way we clean the code, clean the code, clean the code This is the way we clean the code, clean the code, clean the code So early in the morning committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 12 Feb 2006 22:14:38 +0000
parents 87a7c3077c19
children 6519aeb66b31
comparison
equal deleted inserted replaced
13253:87a7c3077c19 13254:e9802db22b06
77 77
78 if (!longdata) 78 if (!longdata)
79 return aim_genericreq_n(sess, conn, family, subtype); 79 return aim_genericreq_n(sess, conn, family, subtype);
80 80
81 if (!(fr = flap_frame_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+4))) 81 if (!(fr = flap_frame_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+4)))
82 return -ENOMEM; 82 return -ENOMEM;
83 83
84 snacid = aim_cachesnac(sess, family, subtype, 0x0000, NULL, 0); 84 snacid = aim_cachesnac(sess, family, subtype, 0x0000, NULL, 0);
85 85
86 aim_putsnac(&fr->data, family, subtype, 0x0000, snacid); 86 aim_putsnac(&fr->data, family, subtype, 0x0000, snacid);
87 aimbs_put32(&fr->data, *longdata); 87 aimbs_put32(&fr->data, *longdata);
98 98
99 if (!shortdata) 99 if (!shortdata)
100 return aim_genericreq_n(sess, conn, family, subtype); 100 return aim_genericreq_n(sess, conn, family, subtype);
101 101
102 if (!(fr = flap_frame_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+2))) 102 if (!(fr = flap_frame_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+2)))
103 return -ENOMEM; 103 return -ENOMEM;
104 104
105 snacid = aim_cachesnac(sess, family, subtype, 0x0000, NULL, 0); 105 snacid = aim_cachesnac(sess, family, subtype, 0x0000, NULL, 0);
106 106
107 aim_putsnac(&fr->data, family, subtype, 0x0000, snacid); 107 aim_putsnac(&fr->data, family, subtype, 0x0000, snacid);
108 aimbs_put16(&fr->data, *shortdata); 108 aimbs_put16(&fr->data, *shortdata);