comparison src/server.c @ 338:9d258a0aa560

[gaim-migrate @ 348] Whoa, all kinds of things happened here. The applet looks better. The preferences dialog changes based on your compile-time options (oscar, gnome). Whispering works again. libfaim got updated; it can almost do RVOUS stuff, and hopefully soon can make requests too. The applet doesn't need to have its sounds go through GNOME, although it still can. There is code to facilitate SOCKS5 support (all that needs to be done is to actually write the code to communicate with the proxy server). committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 06 Jun 2000 09:55:30 +0000
parents 71be288e7578
children b402a23f35df
comparison
equal deleted inserted replaced
337:f5b199e20d12 338:9d258a0aa560
26 #include <sys/stat.h> 26 #include <sys/stat.h>
27 #include <sys/time.h> 27 #include <sys/time.h>
28 #include <unistd.h> 28 #include <unistd.h>
29 #include <gtk/gtk.h> 29 #include <gtk/gtk.h>
30 #ifdef USE_OSCAR 30 #ifdef USE_OSCAR
31 #include <faim/aim.h> 31 #include <aim.h>
32 extern int gaim_caps; 32 extern int gaim_caps;
33 #endif 33 #endif
34 #include "gaim.h" 34 #include "gaim.h"
35 35
36 static int idle_timer = -1; 36 static int idle_timer = -1;
573 #ifndef USE_OSCAR 573 #ifndef USE_OSCAR
574 char buf2[MSG_LEN]; 574 char buf2[MSG_LEN];
575 g_snprintf(buf2, sizeof(buf2), "toc_chat_whisper %d %s \"%s\"", id, who, message); 575 g_snprintf(buf2, sizeof(buf2), "toc_chat_whisper %d %s \"%s\"", id, who, message);
576 sflap_send(buf2, -1, TYPE_DATA); 576 sflap_send(buf2, -1, TYPE_DATA);
577 #else 577 #else
578 do_error_dialog("Sorry, Oscar doesn't whisper. Send an IM.", 578 do_error_dialog("Sorry, Oscar doesn't whisper. Send an IM. (The last message was not received.)",
579 "Gaim - Chat"); 579 "Gaim - Chat");
580 #endif 580 #endif
581 } 581 }
582 582
583 void serv_chat_send(int id, char *message) 583 void serv_chat_send(int id, char *message)