aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-multipart.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-07-31 01:25:01 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-07-31 01:25:01 +0800
commit8198a7b94ed1a04f5b4aa3d5ba5d33ee2e9843ba (patch)
treeced23aae4f17e65f881827dc6c210556ca801f2f /camel/camel-multipart.c
parent2f1bbf508a9e814c4a160991ed8c2b40fdf2c2e2 (diff)
downloadgsoc2013-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-multipart.c')
-rw-r--r--camel/camel-multipart.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-multipart.c b/camel/camel-multipart.c
index 9366bf0e95..9c41050677 100644
--- a/camel/camel-multipart.c
+++ b/camel/camel-multipart.c
@@ -57,7 +57,7 @@ static guint get_number (CamelMultipart *multipart);
static void set_boundary (CamelMultipart *multipart,
const char *boundary);
static const gchar * get_boundary (CamelMultipart *multipart);
-static int write_to_stream (CamelDataWrapper *data_wrapper,
+static ssize_t write_to_stream (CamelDataWrapper *data_wrapper,
CamelStream *stream);
static void unref_part (gpointer data, gpointer user_data);
@@ -435,13 +435,13 @@ is_offline (CamelDataWrapper *data_wrapper)
}
/* this is MIME specific, doesn't belong here really */
-static int
+static ssize_t
write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
{
CamelMultipart *multipart = CAMEL_MULTIPART (data_wrapper);
const gchar *boundary;
- int total = 0;
- int count;
+ ssize_t total = 0;
+ ssize_t count;
GList *node;
/* get the bundary text */