aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-03-15 22:37:47 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-03-15 22:37:47 +0800
commitd749d27d5725987dc95ae3ec9b176e13eaac3c43 (patch)
tree4c5a89d81c08e2532c4cac42d1959267d0926658 /camel/camel-stream.c
parent600eb6308ae2ce5f7aeb40432f0aa7e8c8951611 (diff)
downloadgsoc2013-evolution-d749d27d5725987dc95ae3ec9b176e13eaac3c43.tar.gz
gsoc2013-evolution-d749d27d5725987dc95ae3ec9b176e13eaac3c43.tar.zst
gsoc2013-evolution-d749d27d5725987dc95ae3ec9b176e13eaac3c43.zip
same as below for path.
2004-03-15 Not Zed <NotZed@Ximian.com> * providers/local/camel-mbox-store.c (delete_folder): same as below for path. * providers/local/camel-local-store.c (delete_folder): NULL out str before looking up the state file using it. Otherwise we double-free str. * camel-mime-parser.c (folder_scan_skip_line): we want to scan till in-end-1. If we've been called we're either at the end of data, or we know we have an end of line character within memory. Another case in Bug #53355. svn path=/trunk/; revision=25068
Diffstat (limited to 'camel/camel-stream.c')
-rw-r--r--camel/camel-stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-stream.c b/camel/camel-stream.c
index bcc4640697..11eba1f816 100644
--- a/camel/camel-stream.c
+++ b/camel/camel-stream.c
@@ -114,7 +114,7 @@ camel_stream_write (CamelStream *stream, const char *buffer, size_t n)
{
g_return_val_if_fail (CAMEL_IS_STREAM (stream), -1);
g_return_val_if_fail (n == 0 || buffer, -1);
-
+
return CS_CLASS (stream)->write (stream, buffer, n);
}
@@ -132,7 +132,7 @@ int
camel_stream_flush (CamelStream *stream)
{
g_return_val_if_fail (CAMEL_IS_STREAM (stream), -1);
-
+
return CS_CLASS (stream)->flush (stream);
}