[Pkg-owncloud-commits] [owncloud-client] 80/211: ownsql: Added some paranthisis to make clear whats happening.

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:28 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 eeb5ca42e034cdcad34a01ba3168df3d7f2862c4
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed Oct 15 13:29:25 2014 +0200

    ownsql: Added some paranthisis to make clear whats happening.
---
 src/mirall/ownsql.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mirall/ownsql.cpp b/src/mirall/ownsql.cpp
index 087bcda..c61f3d3 100644
--- a/src/mirall/ownsql.cpp
+++ b/src/mirall/ownsql.cpp
@@ -144,7 +144,7 @@ bool SqlQuery::exec()
     // Don't do anything for selects, that is how we use the lib :-|
     if(_stmt && !isSelect() && !isPragma() ) {
         SQLITE_DO(sqlite3_step(_stmt));
-        return _errId == SQLITE_DONE; // either SQLITE_ROW or SQLITE_DONE
+        return (_errId == SQLITE_DONE); // either SQLITE_ROW or SQLITE_DONE
     }
 
     return true;

-- 
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