Mercurial > pidgin
comparison src/conversation.c @ 283:0f14e6d8a51b
[gaim-migrate @ 293]
- Good fun things here. Sometimes I think Adam does things just to make
it difficult for me, I swear (j/k :) ).
- I moved all the .h files into the faim/ directory because I'm tired
of changing faim/aim.h to just aim.h every time Adam makes an update.
- libfaim can now send messages much longer than WinAIM or TOC can. But,
the length checking code is still in conversation.c, and I haven't
changed it yet, mostly because I'm lazy.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 31 May 2000 03:20:11 +0000 |
parents | f9eb3eb9ffde |
children | e5fa88351dc8 |
comparison
equal
deleted
inserted
replaced
282:918db59d3814 | 283:0f14e6d8a51b |
---|---|
409 char *buf = g_malloc(BUF_LEN * 4); | 409 char *buf = g_malloc(BUF_LEN * 4); |
410 char *buf2; | 410 char *buf2; |
411 gchar *buf4; | 411 gchar *buf4; |
412 int hdrlen; | 412 int hdrlen; |
413 | 413 |
414 /* FIXME : for USE_OSCAR, libfaim can send messages much longer | |
415 * than this (I think it's about 7K rather than 4K. So we need | |
416 * to do these checks a little bit differently here */ | |
414 buf4 = gtk_editable_get_chars(GTK_EDITABLE(c->entry), 0, -1); | 417 buf4 = gtk_editable_get_chars(GTK_EDITABLE(c->entry), 0, -1); |
415 g_snprintf(buf, BUF_LONG, "%s", buf4); | 418 g_snprintf(buf, BUF_LONG, "%s", buf4); |
416 g_free(buf4); | 419 g_free(buf4); |
417 | 420 |
418 if (!strlen(buf)) { | 421 if (!strlen(buf)) { |