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-simple-data-wrapper.c | |
parent | 8efa5bea5494312b98c70c347cc7df84564eb86f (diff) | |
download | gsoc2013-evolution-08752e1b538c47f74714199eed76e9cda61c256f.tar.gz 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-simple-data-wrapper.c')
-rw-r--r-- | camel/camel-simple-data-wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-simple-data-wrapper.c b/camel/camel-simple-data-wrapper.c index 99bd0b2075..cc7fc6bba7 100644 --- a/camel/camel-simple-data-wrapper.c +++ b/camel/camel-simple-data-wrapper.c @@ -159,7 +159,7 @@ _construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream) g_byte_array_free (array, FALSE); } - array = g_byte_array_new(); + array = g_byte_array_new (); CAMEL_LOG_FULL_DEBUG ("CamelSimpleDataWrapper::construct_from_stream new byte array address:%p\n", array); simple_data_wrapper->byte_array = array; nb_bytes_read = camel_stream_read (stream, tmp_buf, _CMSDW_TMP_BUF_SIZE); |