[tracker/dbus-fd-experiment] Steroids server: Properly send error code on error
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/dbus-fd-experiment] Steroids server: Properly send error code on error
- Date: Mon, 24 May 2010 14:10:41 +0000 (UTC)
commit c7d003803dea43abf5dce1e82a91af3e5626b2b9
Author: Adrien Bustany <abustany gnome org>
Date: Mon May 24 10:10:05 2010 -0400
Steroids server: Properly send error code on error
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 ae9a8f3..49b353d 100644
--- a/src/tracker-store/tracker-steroids.c
+++ b/src/tracker-store/tracker-steroids.c
@@ -194,6 +194,8 @@ query_inthread (TrackerDBCursor *cursor,
const gchar **column_data;
if (error) {
+ buffer_write_int (dst, STEROIDS_RC_ERROR);
+ page_flush (info);
ptr->error = g_error_copy (error);
return ptr;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]