diff options
author | Dan Winship <danw@src.gnome.org> | 2000-10-31 00:58:53 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-10-31 00:58:53 +0800 |
commit | abe39be1720a9ae3fd3402a5a8b777473319fbdb (patch) | |
tree | 1c421910915f0c083e8a7d51488af68564ef5342 /camel/camel-mime-filter-basic.c | |
parent | 45915f89e2279d67b0bf29ce3126cd4dabd61f9f (diff) | |
download | gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.tar gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.tar.gz gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.tar.bz2 gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.tar.lz gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.tar.xz gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.tar.zst gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.zip |
Take an additional argument, "break_lines", saying whether or not to add
* camel-mime-utils.c (base64_encode_step, base64_encode_close):
Take an additional argument, "break_lines", saying whether or not
to add '\n's to the output.
* camel-multipart.c (set_boundary):
* camel-mime-filter-basic.c (filter, complete): Update for base64
api change.
svn path=/trunk/; revision=6271
Diffstat (limited to 'camel/camel-mime-filter-basic.c')
-rw-r--r-- | camel/camel-mime-filter-basic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-mime-filter-basic.c b/camel/camel-mime-filter-basic.c index 48e2106e35..8dd94e1580 100644 --- a/camel/camel-mime-filter-basic.c +++ b/camel/camel-mime-filter-basic.c @@ -99,7 +99,7 @@ complete(CamelMimeFilter *mf, char *in, size_t len, size_t prespace, char **out, case CAMEL_MIME_FILTER_BASIC_BASE64_ENC: /* wont go to more than 2x size (overly conservative) */ camel_mime_filter_set_size(mf, len*2, FALSE); - newlen = base64_encode_close(in, len, mf->outbuf, &f->state, &f->save); + newlen = base64_encode_close(in, len, TRUE, mf->outbuf, &f->state, &f->save); break; case CAMEL_MIME_FILTER_BASIC_QP_ENC: /* *4 is definetly more than needed ... */ @@ -143,7 +143,7 @@ filter(CamelMimeFilter *mf, char *in, size_t len, size_t prespace, char **out, s case CAMEL_MIME_FILTER_BASIC_BASE64_ENC: /* wont go to more than 2x size (overly conservative) */ camel_mime_filter_set_size(mf, len*2, FALSE); - newlen = base64_encode_step(in, len, mf->outbuf, &f->state, &f->save); + newlen = base64_encode_step(in, len, TRUE, mf->outbuf, &f->state, &f->save); break; case CAMEL_MIME_FILTER_BASIC_QP_ENC: /* *4 is overly conservative, but will do */ |