Mercurial > pidgin
changeset 13695:8369120556bc
[gaim-migrate @ 16098]
A note
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 27 Apr 2006 21:58:30 +0000 |
parents | 0d45a2495c7e |
children | 0572a1513b25 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Tue Apr 25 18:09:54 2006 +0000 +++ b/src/protocols/oscar/oscar.c Thu Apr 27 21:58:30 2006 +0000 @@ -5216,6 +5216,10 @@ GAIM_MESSAGE_ERROR, time(NULL)); gaim_plugin_oscar_convert_to_best_encoding(gc, NULL, buf, &buf2, &len, &charset, &charsubset); + /* + * Evan S. suggested that maxvis really does mean "number of + * visible characters" and not "number of bytes" + */ if ((len > c->maxlen) || (len > c->maxvis)) { g_free(buf2); return -E2BIG;