diff options
author | Dan Winship <danw@src.gnome.org> | 2000-05-26 22:46:13 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-05-26 22:46:13 +0800 |
commit | f5ba4dde57c0bd90e16f515f3dacc8a68637b5d5 (patch) | |
tree | 0974689fc9710ed575aacbc4c0f05bb479b10863 /camel/camel-mime-part-utils.c | |
parent | 8ad057518fc70b8eb1ac7eaabb01a7950e3f63c0 (diff) | |
download | gsoc2013-evolution-f5ba4dde57c0bd90e16f515f3dacc8a68637b5d5.tar gsoc2013-evolution-f5ba4dde57c0bd90e16f515f3dacc8a68637b5d5.tar.gz gsoc2013-evolution-f5ba4dde57c0bd90e16f515f3dacc8a68637b5d5.tar.bz2 gsoc2013-evolution-f5ba4dde57c0bd90e16f515f3dacc8a68637b5d5.tar.lz gsoc2013-evolution-f5ba4dde57c0bd90e16f515f3dacc8a68637b5d5.tar.xz gsoc2013-evolution-f5ba4dde57c0bd90e16f515f3dacc8a68637b5d5.tar.zst gsoc2013-evolution-f5ba4dde57c0bd90e16f515f3dacc8a68637b5d5.zip |
Don't set a default boundary. Require the caller to do that.
* camel-multipart.c (camel_multipart_init): Don't set a default
boundary. Require the caller to do that.
(set_boundary): if boundary is NULL, generate a "random" boundary.
* camel-mime-part-utils.c
(camel_mime_part_construct_content_from_parser): Add a call to
camel_multipart_set_boundary after creating a new multipart.
svn path=/trunk/; revision=3217
Diffstat (limited to 'camel/camel-mime-part-utils.c')
-rw-r--r-- | camel/camel-mime-part-utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-mime-part-utils.c b/camel/camel-mime-part-utils.c index 94bef5e587..f2b67416ac 100644 --- a/camel/camel-mime-part-utils.c +++ b/camel/camel-mime-part-utils.c @@ -191,7 +191,8 @@ camel_mime_part_construct_content_from_parser(CamelMimePart *dw, CamelMimeParser d(printf("Creating multi-part\n")); content = (CamelDataWrapper *)camel_multipart_new(); - /* get/set boundary? */ + /* FIXME: use the real boundary? */ + camel_multipart_set_boundary((CamelMultipart *)content, NULL); while (camel_mime_parser_step(mp, &buf, &len) != HSCAN_MULTIPART_END) { camel_mime_parser_unstep(mp); |