[tracker/dbus-fd-experiment: 12/49] Steroids server: Add missing loop_error check



commit 2eef63c71bc8102e16f9b19d64396c714fd2fa78
Author: Adrien Bustany <abustany gnome org>
Date:   Mon Jun 14 10:59:05 2010 -0400

    Steroids server: Add missing loop_error check

 src/tracker-store/tracker-steroids.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-store/tracker-steroids.c b/src/tracker-store/tracker-steroids.c
index 9ebfd82..734eba8 100644
--- a/src/tracker-store/tracker-steroids.c
+++ b/src/tracker-store/tracker-steroids.c
@@ -328,6 +328,11 @@ query_inthread (TrackerDBCursor *cursor,
 			                                 column_data[i] ? column_data[i] : "",
 			                                 NULL,
 			                                 &loop_error);
+
+			if (loop_error) {
+				goto end_query_inthread;
+			}
+
 			g_data_output_stream_put_byte (data_output_stream,
 			                               0,
 			                               NULL,



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