comparison src/protocols/oscar/family_chat.c @ 13253:87a7c3077c19

[gaim-migrate @ 15619] More cleaning up of oscar. Renamed some functions to be more clear. Got rid of some stuff that wasn't used. Inlined some small things in conn.c that were only used once. The goals of all this are 1. Non-blocking I/O for all connections 2. p2p stuff won't use the same struct as oscar connections, because that's stupid 3. The oscar PRPL should be less scary committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 12 Feb 2006 21:27:04 +0000
parents f260d319bbbc
children e9802db22b06
comparison
equal deleted inserted replaced
13252:2871c385c45a 13253:87a7c3077c19
357 aim_tlvlist_t *otl = NULL, *itl = NULL; 357 aim_tlvlist_t *otl = NULL, *itl = NULL;
358 358
359 if (!sess || !conn || !msg || (msglen <= 0)) 359 if (!sess || !conn || !msg || (msglen <= 0))
360 return 0; 360 return 0;
361 361
362 if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 1152))) 362 if (!(fr = flap_frame_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 1152)))
363 return -ENOMEM; 363 return -ENOMEM;
364 364
365 snacid = aim_cachesnac(sess, 0x000e, 0x0005, 0x0000, NULL, 0); 365 snacid = aim_cachesnac(sess, 0x000e, 0x0005, 0x0000, NULL, 0);
366 aim_putsnac(&fr->data, 0x000e, 0x0005, 0x0000, snacid); 366 aim_putsnac(&fr->data, 0x000e, 0x0005, 0x0000, snacid);
367 367