From 8cb1ce04ac5efcc71680e8da2843535244fd2ec3 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 21 Aug 2003 16:20:14 +0000 Subject: Don't poke wrapper->stream directly, use 2003-08-21 Jeffrey Stedfast * camel-data-wrapper.c (decode_to_stream): Don't poke wrapper->stream directly, use camel_data_wrapper_write_to_stream() instead as this simplifies things and makes the imap data wrapper implementation Just Work (tm). * providers/imap/camel-imap-wrapper.c: changed prototype of write_to_stream() to return ssize_t. svn path=/trunk/; revision=22325 --- camel/providers/imap/camel-imap-wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/providers/imap/camel-imap-wrapper.c') diff --git a/camel/providers/imap/camel-imap-wrapper.c b/camel/providers/imap/camel-imap-wrapper.c index f2f87d5409..2cb07b3012 100644 --- a/camel/providers/imap/camel-imap-wrapper.c +++ b/camel/providers/imap/camel-imap-wrapper.c @@ -43,7 +43,7 @@ static CamelDataWrapperClass *parent_class = NULL; /* Returns the class for a CamelDataWrapper */ #define CDW_CLASS(so) CAMEL_DATA_WRAPPER_CLASS (CAMEL_OBJECT_GET_CLASS(so)) -static int write_to_stream (CamelDataWrapper *imap_wrapper, CamelStream *stream); +static ssize_t write_to_stream (CamelDataWrapper *imap_wrapper, CamelStream *stream); static void camel_imap_wrapper_class_init (CamelImapWrapperClass *camel_imap_wrapper_class) -- cgit v1.2.3