summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Son <seungha.son@samsung.com>2017-12-29 04:23:55 (GMT)
committerSeungha Son <seungha.son@samsung.com>2017-12-29 04:28:26 (GMT)
commit5ee6e0b0012cadfbb02cb9740240d072f14b8ff4 (patch)
tree040ed632a35709d848e4891261ceacf15d09c812
parent770839c6ce647ff983bfbdb4f6edd283198e08e3 (diff)
downloadbadge-5ee6e0b0012cadfbb02cb9740240d072f14b8ff4.zip
badge-5ee6e0b0012cadfbb02cb9740240d072f14b8ff4.tar.gz
badge-5ee6e0b0012cadfbb02cb9740240d072f14b8ff4.tar.bz2
Signed-off-by: Seungha Son <seungha.son@samsung.com> Change-Id: I08f252ba21053bfeb70c0e61b457e8678614634c
-rwxr-xr-xsrc/badge_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/badge_db.c b/src/badge_db.c
index e05af86..a96ba4c 100755
--- a/src/badge_db.c
+++ b/src/badge_db.c
@@ -56,7 +56,7 @@ static bool is_db_corrupted = false;
static int __check_integrity_cb(void *pid, int argc, char **argv, char **notUsed)
{
- if (!strcmp(argv[0], "ok")) {
+ if (strcmp(argv[0], "ok") != 0) {
ERR("db integrity result : %s" , argv[0]);
is_db_corrupted = true;
return -1;