diff options
Diffstat (limited to 'camel/camel-filter-search.c')
-rw-r--r-- | camel/camel-filter-search.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/camel/camel-filter-search.c b/camel/camel-filter-search.c index 42f04b0f22..53fe074b10 100644 --- a/camel/camel-filter-search.c +++ b/camel/camel-filter-search.c @@ -553,12 +553,10 @@ run_command (struct _ESExp *f, int argc, struct _ESExpResult **argv, FilterMessa /* parent process */ close (in_fds[0]); - fcntl (in_fds[1], F_SETFL, O_NONBLOCK); - - stream = camel_stream_fs_new_with_fd (in_fds[1]); message = camel_filter_search_get_message (fms, f); + stream = camel_stream_fs_new_with_fd (in_fds[1]); camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message), stream); camel_stream_flush (stream); camel_object_unref (stream); |