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-data-wrapper.c | |
parent | 2f1bbf508a9e814c4a160991ed8c2b40fdf2c2e2 (diff) | |
download | gsoc2013-evolution-8198a7b94ed1a04f5b4aa3d5ba5d33ee2e9843ba.tar.gz 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-data-wrapper.c')
-rw-r--r-- | camel/camel-data-wrapper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-data-wrapper.c b/camel/camel-data-wrapper.c index de4d1bf5bf..1f2066aa7a 100644 --- a/camel/camel-data-wrapper.c +++ b/camel/camel-data-wrapper.c @@ -41,7 +41,7 @@ static CamelObjectClass *parent_class = NULL; #define CDW_CLASS(so) CAMEL_DATA_WRAPPER_CLASS (CAMEL_OBJECT_GET_CLASS(so)) static int construct_from_stream (CamelDataWrapper *, CamelStream *); -static int write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream); +static ssize_t write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream); static void set_mime_type (CamelDataWrapper *data_wrapper, const char *mime_type); static gchar *get_mime_type (CamelDataWrapper *data_wrapper); static CamelContentType *get_mime_type_field (CamelDataWrapper *data_wrapper); @@ -111,10 +111,10 @@ camel_data_wrapper_get_type (void) return type; } -static int +static ssize_t write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream) { - int ret; + ssize_t ret; if (data_wrapper->stream == NULL) { return -1; |