comparison src/protocols/toc/toc.c @ 2303:f5bf315e6104

[gaim-migrate @ 2313] hi committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 17 Sep 2001 23:25:10 +0000
parents cc462108c101
children 0371b905baef
comparison
equal deleted inserted replaced
2302:722a912562a0 2303:f5bf315e6104
753 g_snprintf(buf, MSG_LEN - 8, "toc_send_im %s \"%s\"%s", normalize(name), 753 g_snprintf(buf, MSG_LEN - 8, "toc_send_im %s \"%s\"%s", normalize(name),
754 tmp, ((flags & IM_FLAG_AWAY) ? " auto" : "")); 754 tmp, ((flags & IM_FLAG_AWAY) ? " auto" : ""));
755 sflap_send(gc, buf, -1, TYPE_DATA); 755 sflap_send(gc, buf, -1, TYPE_DATA);
756 756
757 g_free(tmp); 757 g_free(tmp);
758 return 0; 758 return 1;
759 } 759 }
760 760
761 static void toc_set_config(struct gaim_connection *gc) 761 static void toc_set_config(struct gaim_connection *gc)
762 { 762 {
763 char *buf = g_malloc(MSG_LEN), snd[BUF_LEN * 2]; 763 char *buf = g_malloc(MSG_LEN), snd[BUF_LEN * 2];