Mercurial > pidgin.yaz
comparison src/conversation.c @ 819:2f0f06f7319f
[gaim-migrate @ 829]
this is probably bad. oh well. we can't send images or sounds yet anyway
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 01 Sep 2000 03:56:57 +0000 |
parents | 09e9685e24b9 |
children | fe2e1ad4495b |
comparison
equal
deleted
inserted
replaced
818:f425f51a3db8 | 819:2f0f06f7319f |
---|---|
532 void send_callback(GtkWidget *widget, struct conversation *c) | 532 void send_callback(GtkWidget *widget, struct conversation *c) |
533 { | 533 { |
534 char *buf, *buf2, *buf3; | 534 char *buf, *buf2, *buf3; |
535 int hdrlen, limit; | 535 int hdrlen, limit; |
536 | 536 |
537 if (c->is_direct) limit = 0x1ffffff; | 537 if (c->is_direct) limit = 0x8000; /* 32 k */ |
538 else if (c->is_chat && USE_OSCAR) limit = MAXCHATMSGLEN; | 538 else if (c->is_chat && USE_OSCAR) limit = MAXCHATMSGLEN; |
539 else if (USE_OSCAR) limit = MAXMSGLEN; | 539 else if (USE_OSCAR) limit = MAXMSGLEN; |
540 else limit = MSG_LEN; | 540 else limit = MSG_LEN; |
541 limit <<= 2; | 541 limit <<= 2; |
542 | 542 |