comparison src/server.c @ 710:efd72a117875

[gaim-migrate @ 720] yay, icq-style aliasing. joy. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 17 Aug 2000 13:07:52 +0000
parents 668b4d544afe
children d05d746384a7
comparison
equal deleted inserted replaced
709:957957d0dc2c 710:efd72a117875
485 sflap_send(send, -1, TYPE_DATA); 485 sflap_send(send, -1, TYPE_DATA);
486 g_free(send); 486 g_free(send);
487 } 487 }
488 } 488 }
489 489
490 void serv_build_config(char *buf, int len) { 490 void serv_build_config(char *buf, int len, gboolean show) {
491 toc_build_config(buf, len); 491 toc_build_config(buf, len, show);
492 } 492 }
493 493
494 494
495 void serv_save_config() 495 void serv_save_config()
496 { 496 {
497 if (!USE_OSCAR) { 497 if (!USE_OSCAR) {
498 char *buf = g_malloc(BUF_LONG); 498 char *buf = g_malloc(BUF_LONG);
499 char *buf2 = g_malloc(MSG_LEN); 499 char *buf2 = g_malloc(MSG_LEN);
500 serv_build_config(buf, BUF_LONG / 2); 500 serv_build_config(buf, BUF_LONG / 2, FALSE);
501 g_snprintf(buf2, MSG_LEN, "toc_set_config {%s}", buf); 501 g_snprintf(buf2, MSG_LEN, "toc_set_config {%s}", buf);
502 sflap_send(buf2, -1, TYPE_DATA); 502 sflap_send(buf2, -1, TYPE_DATA);
503 g_free(buf2); 503 g_free(buf2);
504 g_free(buf); 504 g_free(buf);
505 } 505 }