projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
177897b
)
Bug #625351 - Sending through sendmail reports error
author
Milan Crha
<mcrha@redhat.com>
Fri, 30 Jul 2010 08:15:27 +0000
(10:15 +0200)
committer
Milan Crha
<mcrha@redhat.com>
Fri, 30 Jul 2010 08:15:27 +0000
(10:15 +0200)
camel/camel-stream-filter.c
patch
|
blob
|
history
diff --git
a/camel/camel-stream-filter.c
b/camel/camel-stream-filter.c
index
7d2eadf
..
30637fd
100644
(file)
--- 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);