[tracker/sql-error-checks-for-master] libtracker-db: No need to make a boolean of this, the sqlite api expects int
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sql-error-checks-for-master] libtracker-db: No need to make a boolean of this, the sqlite api expects int
- Date: Wed, 26 May 2010 11:13:29 +0000 (UTC)
commit 4d416d1c745fff1d944b1a08b1dc20d71dd91fba
Author: Philip Van Hoof <philip codeminded be>
Date: Wed May 26 13:12:03 2010 +0200
libtracker-db: No need to make a boolean of this, the sqlite api expects int
src/libtracker-db/tracker-db-interface-sqlite.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-interface-sqlite.c b/src/libtracker-db/tracker-db-interface-sqlite.c
index 95cc064..0e70782 100644
--- a/src/libtracker-db/tracker-db-interface-sqlite.c
+++ b/src/libtracker-db/tracker-db-interface-sqlite.c
@@ -492,7 +492,7 @@ static int
check_interrupt (void *user_data)
{
TrackerDBInterfaceSqlitePrivate *priv = user_data;
- return (g_atomic_int_get (&priv->interrupt) == 1);
+ return g_atomic_int_get (&priv->interrupt);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]