[Pkg-owncloud-commits] [owncloud-client] 34/211: csync_statedb: fix inverted logic in testing if the sqlite was compiled with threads
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 661fe5df66fcc809754095c9559aa15fca353b90
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Fri Oct 10 10:12:08 2014 +0200
csync_statedb: fix inverted logic in testing if the sqlite was compiled with threads
---
csync/src/csync_statedb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/csync/src/csync_statedb.c b/csync/src/csync_statedb.c
index c1955a5..f76cb17 100644
--- a/csync/src/csync_statedb.c
+++ b/csync/src/csync_statedb.c
@@ -76,7 +76,7 @@ static int _csync_check_db_integrity(sqlite3 *db) {
c_strlist_destroy(result);
}
- if( sqlite3_threadsafe() != 0 ) {
+ if( sqlite3_threadsafe() == 0 ) {
CSYNC_LOG(CSYNC_LOG_PRIORITY_WARN, "* WARNING: SQLite module is not threadsafe!");
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list