diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 1999-08-18 01:44:00 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-18 01:44:00 +0800 |
commit | 08752e1b538c47f74714199eed76e9cda61c256f (patch) | |
tree | 225c875e5cdf011966498dd0540c75066609fe29 /camel/camel-stream.c | |
parent | 8efa5bea5494312b98c70c347cc7df84564eb86f (diff) | |
download | gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar.gz gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar.bz2 gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar.lz gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar.xz gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar.zst gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.zip |
return the number of bytes read. How can this have ever worked ?
1999-08-17 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-stream.c (camel_stream_read):
return the number of bytes read.
How can this have ever worked ?
(camel_stream_flush): don't return anything.
* camel/gmime-utils.c (get_header_table_from_stream):
mem leak fixed.
+ various other mem leaks.
svn path=/trunk/; revision=1120
Diffstat (limited to 'camel/camel-stream.c')
-rw-r--r-- | camel/camel-stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-stream.c b/camel/camel-stream.c index b63a64ddb7..18ff5db8f5 100644 --- a/camel/camel-stream.c +++ b/camel/camel-stream.c @@ -104,7 +104,7 @@ camel_stream_get_type (void) gint camel_stream_read (CamelStream *stream, gchar *buffer, gint n) { - CS_CLASS (stream)->read (stream, buffer, n); + return CS_CLASS (stream)->read (stream, buffer, n); } /** @@ -133,7 +133,7 @@ camel_stream_write (CamelStream *stream, const gchar *buffer, gint n) void camel_stream_flush (CamelStream *stream) { - return CS_CLASS (stream)->flush (stream); + CS_CLASS (stream)->flush (stream); } /** |