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/gmime-content-field.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/gmime-content-field.c')
-rw-r--r-- | camel/gmime-content-field.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/camel/gmime-content-field.c b/camel/gmime-content-field.c index 04b07b7626..a499ec6a9e 100644 --- a/camel/gmime-content-field.c +++ b/camel/gmime-content-field.c @@ -126,7 +126,7 @@ gmime_content_field_unref (GMimeContentField *content_field) * or valid parameters name depend on the content type object. For example, * gmime_content_field_set_parameter (cf, "charset", "us-ascii"); * will make sense for a "text/plain" content field but not for a - * "image/gif". This routine does not check parameter validuty. + * "image/gif". This routine does not check parameter validity. **/ void gmime_content_field_set_parameter (GMimeContentField *content_field, const gchar *attribute, const gchar *value) @@ -356,6 +356,8 @@ gmime_content_field_construct_from_string (GMimeContentField *content_field, con CAMEL_LOG_TRACE ( "GMimeContentField::construct_from_string, Found mime parameter \"%s\"=\"%s\"\n", param_name, param_value); string_trim (param_value, " \t", STRING_TRIM_STRIP_TRAILING | STRING_TRIM_STRIP_LEADING); gmime_content_field_set_parameter (content_field, param_name, param_value); + g_free (param_name); + g_free (param_value); i++; first = i; } |