comparison src/server.c @ 253:5b28ef2b550e

[gaim-migrate @ 263] A few things happened in this update: - Commented out the libfaim deny/permit list stuff because it's seriously buggy - Added Socks v4 support - improved proxy support for things like getting users' info - i think that's it committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 23 May 2000 05:26:30 +0000
parents 4a41f8323022
children 7615d22ad227
comparison
equal deleted inserted replaced
252:4a41f8323022 253:5b28ef2b550e
375 } 375 }
376 buf[at] = 0; 376 buf[at] = 0;
377 sflap_send(buf, -1, TYPE_DATA); 377 sflap_send(buf, -1, TYPE_DATA);
378 #else 378 #else
379 /* oscar requires us to do everyone at once (?) */ 379 /* oscar requires us to do everyone at once (?) */
380 /* FIXME : there's nothing wrong with this code, but it causes the entire buddy 380 /* FIXME : there's something wrong with this code, it causes the entire buddy
381 * list to update, and can cause other people's buddy lists to improperly update 381 * list to update, and can cause other people's buddy lists to improperly update
382 list = permit; at = 0; 382 if (!(permdeny == 1 || permdeny == 3)) {
383 while (list) { 383 list = permit; at = 0;
384 at += g_snprintf(&buf[at], sizeof(buf) - at, "%s&", list->data); 384 while (list) {
385 list = list->next; 385 at += g_snprintf(&buf[at], sizeof(buf) - at, "%s&", list->data);
386 } 386 list = list->next;
387 aim_bos_changevisibility(gaim_sess, gaim_conn, 387 }
388 AIM_VISIBILITYCHANGE_PERMITADD, buf); 388 aim_bos_changevisibility(gaim_sess, gaim_conn,
389 list = deny; at = 0; 389 AIM_VISIBILITYCHANGE_PERMITADD, buf);
390 while (list) { 390 } else {
391 at += g_snprintf(&buf[at], sizeof(buf) - at, "%s&", list->data); 391 list = deny; at = 0;
392 list = list->next; 392 if (list == NULL) return;
393 } 393 while (list) {
394 aim_bos_changevisibility(gaim_sess, gaim_conn, 394 at += g_snprintf(&buf[at], sizeof(buf) - at, "%s&", list->data);
395 AIM_VISIBILITYCHANGE_DENYADD, buf); 395 list = list->next;
396 */ 396 }
397 aim_bos_changevisibility(gaim_sess, gaim_conn,
398 AIM_VISIBILITYCHANGE_DENYADD, buf);
399 }
400 */
397 #endif 401 #endif
398 } 402 }
399 403
400 void serv_set_idle(int time) 404 void serv_set_idle(int time)
401 { 405 {