diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-07-31 01:25:01 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-07-31 01:25:01 +0800 |
commit | 8198a7b94ed1a04f5b4aa3d5ba5d33ee2e9843ba (patch) | |
tree | ced23aae4f17e65f881827dc6c210556ca801f2f /camel/camel-mime-part.c | |
parent | 2f1bbf508a9e814c4a160991ed8c2b40fdf2c2e2 (diff) | |
download | gsoc2013-evolution-8198a7b94ed1a04f5b4aa3d5ba5d33ee2e9843ba.tar gsoc2013-evolution-8198a7b94ed1a04f5b4aa3d5ba5d33ee2e9843ba.tar.gz gsoc2013-evolution-8198a7b94ed1a04f5b4aa3d5ba5d33ee2e9843ba.tar.bz2 gsoc2013-evolution-8198a7b94ed1a04f5b4aa3d5ba5d33ee2e9843ba.tar.lz gsoc2013-evolution-8198a7b94ed1a04f5b4aa3d5ba5d33ee2e9843ba.tar.xz gsoc2013-evolution-8198a7b94ed1a04f5b4aa3d5ba5d33ee2e9843ba.tar.zst gsoc2013-evolution-8198a7b94ed1a04f5b4aa3d5ba5d33ee2e9843ba.zip |
Also updated.
2003-07-30 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-message.c (write_to_stream): Also updated.
* camel-data-wrapper.c (write_to_stream): This should return ssize_t
* camel-multipart-signed.c (write_to_stream): Updated.
* camel-multipart.c (write_to_stream): Same.
* camel-mime-part.c (write_to_stream): Here too.
svn path=/trunk/; revision=22029
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r-- | camel/camel-mime-part.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index 343248715b..1c85efb3e4 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -72,7 +72,7 @@ static CamelMediumClass *parent_class=NULL; #define CMD_CLASS(so) CAMEL_MEDIUM_CLASS (CAMEL_OBJECT_GET_CLASS(so)) /* from CamelDataWrapper */ -static int write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream); +static ssize_t write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream); static int construct_from_stream (CamelDataWrapper *dw, CamelStream *s); /* from CamelMedia */ @@ -621,15 +621,15 @@ write_raw(CamelStream *stream, struct _header_raw *h) return camel_stream_printf(stream, "%s%s%s\n", h->name, isspace(val[0]) ? ":" : ": ", val); } -static int +static ssize_t write_to_stream(CamelDataWrapper *data_wrapper, CamelStream *stream) { CamelMimePart *mp = CAMEL_MIME_PART(data_wrapper); CamelMedium *medium = CAMEL_MEDIUM(data_wrapper); CamelStream *ostream = stream; CamelDataWrapper *content; - int total = 0; - int count; + ssize_t total = 0; + ssize_t count; d(printf("mime_part::write_to_stream\n")); |