Changeset e374dee for libfaim/buddylist.c
- Timestamp:
- Oct 10, 2003, 5:12:30 PM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- fe6f1d3
- Parents:
- f4d0975
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfaim/buddylist.c
r862371b re374dee 6 6 #define FAIM_INTERNAL 7 7 #include <aim.h> 8 9 #include <string.h> 8 10 9 11 /* … … 233 235 * 234 236 * Oncoming Buddy notifications contain a subset of the 235 * user information structure. It s close enough to run236 * through aim_ extractuserinfo() however.237 * user information structure. It's close enough to run 238 * through aim_info_extract() however. 237 239 * 238 240 * Although the offgoing notification contains no information, 239 * it is still in a format parsable by extractuserinfo.241 * it is still in a format parsable by aim_info_extract(). 240 242 * 241 243 */ 242 244 static int buddychange(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs) 243 245 { 246 int ret = 0; 244 247 aim_userinfo_t userinfo; 245 248 aim_rxcallback_t userfunc; 246 249 247 aim_ extractuserinfo(sess, bs, &userinfo);250 aim_info_extract(sess, bs, &userinfo); 248 251 249 252 if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype))) 250 return userfunc(sess, rx, &userinfo); 251 252 return 0; 253 ret = userfunc(sess, rx, &userinfo); 254 255 aim_info_free(&userinfo); 256 257 return ret; 253 258 } 254 259 … … 270 275 mod->version = 0x0001; 271 276 mod->toolid = 0x0110; 272 mod->toolversion = 0x0 47b;277 mod->toolversion = 0x0629; 273 278 mod->flags = 0; 274 279 strncpy(mod->name, "buddylist", sizeof(mod->name));
Note: See TracChangeset
for help on using the changeset viewer.