[tracker/rss-enclosures] libtracker-client: Also use buffered output stream for async calls



commit b695a1a0a7696b33687af033277e85fe06370dcd
Author: Jürg Billeter <j bitron ch>
Date:   Tue Jun 15 14:45:24 2010 +0200

    libtracker-client: Also use buffered output stream for async calls

 src/libtracker-client/tracker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-client/tracker.c b/src/libtracker-client/tracker.c
index f4b8460..261764b 100644
--- a/src/libtracker-client/tracker.c
+++ b/src/libtracker-client/tracker.c
@@ -1151,7 +1151,7 @@ sparql_update_fast_async (TrackerClient      *client,
 	output_stream = g_unix_output_stream_new (pipefd[1], TRUE);
 	buffered_output_stream = g_buffered_output_stream_new_sized (output_stream,
 	                                                             TRACKER_STEROIDS_BUFFER_SIZE);
-	data_output_stream = g_data_output_stream_new (output_stream);
+	data_output_stream = g_data_output_stream_new (buffered_output_stream);
 
 	g_data_output_stream_put_int32 (data_output_stream,
 	                                strlen (data->query),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]