comparison src/server.c @ 265:59f1748b09a6

[gaim-migrate @ 275] Logging in works properly for Oscar now. Let's hope I didn't break the TOC side of things. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 25 May 2000 08:09:03 +0000
parents 8aa7368baae7
children cfa39d39dec6
comparison
equal deleted inserted replaced
264:ced25773243c 265:59f1748b09a6
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 something wrong with this code, it causes the entire buddy 380 /* I think this code is OK now. */
381 * list to update, and can cause other people's buddy lists to improperly update
382 */
383 if (!(permdeny == 1 || permdeny == 4)) { 381 if (!(permdeny == 1 || permdeny == 4)) {
384 list = permit; at = 0; 382 list = permit; at = 0;
385 while (list) { 383 while (list) {
386 at += g_snprintf(&buf[at], sizeof(buf) - at, "%s&", list->data); 384 at += g_snprintf(&buf[at], sizeof(buf) - at, "%s&", list->data);
387 list = list->next; 385 list = list->next;