[evolution-data-server] Bug #625351 - Sending through sendmail reports error
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #625351 - Sending through sendmail reports error
- Date: Fri, 30 Jul 2010 08:16:38 +0000 (UTC)
commit 5a25fc974e91bdd87cd4c16f0f11140de56b5d23
Author: Milan Crha <mcrha redhat com>
Date: Fri Jul 30 10:15:27 2010 +0200
Bug #625351 - Sending through sendmail reports error
camel/camel-stream-filter.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-stream-filter.c b/camel/camel-stream-filter.c
index 7d2eadf..30637fd 100644
--- a/camel/camel-stream-filter.c
+++ b/camel/camel-stream-filter.c
@@ -265,8 +265,12 @@ stream_filter_close (CamelStream *stream,
priv = CAMEL_STREAM_FILTER_GET_PRIVATE (stream);
if (!priv->last_was_read) {
- if (stream_filter_flush (stream, error) == -1)
- return -1;
+ GError *err = NULL;
+
+ stream_filter_flush (stream, &err);
+
+ if (err)
+ g_error_free (err);
}
return camel_stream_close (priv->source, error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]