From 08752e1b538c47f74714199eed76e9cda61c256f Mon Sep 17 00:00:00 2001 From: bertrand Date: Tue, 17 Aug 1999 17:44:00 +0000 Subject: return the number of bytes read. How can this have ever worked ? 1999-08-17 bertrand * 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 --- camel/string-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel/string-utils.c') diff --git a/camel/string-utils.c b/camel/string-utils.c index b0d17aec5c..b1a6a5fe8a 100644 --- a/camel/string-utils.c +++ b/camel/string-utils.c @@ -136,11 +136,11 @@ string_dichotomy (const gchar *string, gchar sep, gchar **prefix, gchar **suffix } CAMEL_LOG_FULL_DEBUG ("string_dichotomy: separator found at :%d\n", sep_pos); if (prefix) { /* return the prefix */ - *prefix = g_strndup(string+first,sep_pos-first); + *prefix = g_strndup (string+first,sep_pos-first); CAMEL_LOG_FULL_DEBUG ( "string_dichotomy:: prefix:\"%s\"\n", *prefix); } if (suffix) { /* return the suffix */ - *suffix = g_strndup(string+sep_pos+1, last-sep_pos); + *suffix = g_strndup (string+sep_pos+1, last-sep_pos); CAMEL_LOG_FULL_DEBUG ( "string_dichotomy:: suffix:\"%s\"\n", *suffix); } -- cgit