[tracker] tracker-store: Fixed corruption in FD passing support



commit b85d7509894de9a77e5837a5f676e4b40fdca808
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Sep 29 16:36:15 2010 +0200

    tracker-store: Fixed corruption in FD passing support

 src/tracker-store/tracker-steroids.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-store/tracker-steroids.c b/src/tracker-store/tracker-steroids.c
index 875b7a9..59de111 100644
--- a/src/tracker-store/tracker-steroids.c
+++ b/src/tracker-store/tracker-steroids.c
@@ -342,7 +342,9 @@ query_inthread (TrackerDBCursor *cursor,
 			if (loop_error) {
 				goto end_query_inthread;
 			}
+		}
 
+		for (i = 0; i < n_columns; i++) {
 			g_data_output_stream_put_int32 (data_output_stream,
 			                                column_offsets[i],
 			                                NULL,



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