# HG changeset patch # User Mark Doliner # Date 1146175110 0 # Node ID 8369120556bc444128857503f2ed88cde0d4f25a # Parent 0d45a2495c7ef898f1047b85a2e4b03631ab34f8 [gaim-migrate @ 16098] A note committer: Tailor Script diff -r 0d45a2495c7e -r 8369120556bc src/protocols/oscar/oscar.c --- 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;