diff options
author | 5 <NotZed@Ximian.com> | 2001-10-26 08:37:52 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-26 08:37:52 +0800 |
commit | 5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce (patch) | |
tree | e60b95d8f22e5b1408919f13f5965ba57082ea23 /camel/camel-mime-filter-basic.c | |
parent | b822bc381f5370d64329d8892c8745a8708b214c (diff) | |
download | gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.tar gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.tar.gz gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.tar.bz2 gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.tar.lz gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.tar.xz gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.tar.zst gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.zip |
Remove the stupid warning that should never have been there in the first
2001-10-25 <NotZed@Ximian.com>
* camel-search-private.c (utf8_get): Remove the stupid warning
that should never have been there in the first place.
* camel-sasl-digest-md5.c (digest_response): s/iconv/e_iconv/
* camel-pgp-context.c (pgp_verify): "
* camel-mime-utils.c (rfc2047_decode_word, rfc2047_decode_word,
append_8bit, rfc2047_encode_word, rfc2184_decode,
header_decode_param): "
* camel-mime-part-utils.c (convert_buffer, convert_buffer): "
* camel-mime-filter-charset.c (reset, complete, filter): "
svn path=/trunk/; revision=14113
Diffstat (limited to 'camel/camel-mime-filter-basic.c')
-rw-r--r-- | camel/camel-mime-filter-basic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-mime-filter-basic.c b/camel/camel-mime-filter-basic.c index 63db68f9d9..33e907bc11 100644 --- a/camel/camel-mime-filter-basic.c +++ b/camel/camel-mime-filter-basic.c @@ -122,10 +122,10 @@ complete(CamelMimeFilter *mf, char *in, size_t len, size_t prespace, char **out, g_assert(newlen <= len); break; case CAMEL_MIME_FILTER_BASIC_QP_DEC: - /* output can't possibly exceed the input size */ - camel_mime_filter_set_size(mf, len, FALSE); + /* output can't possibly exceed the input size, well unless its not really qp, then +2 max */ + camel_mime_filter_set_size(mf, len+2, FALSE); newlen = quoted_decode_step(in, len, mf->outbuf, &f->state, &f->save); - g_assert(newlen <= len); + g_assert(newlen <= len+2); break; case CAMEL_MIME_FILTER_BASIC_UU_DEC: /* output can't possibly exceed the input size */ |