projects
/
platform
/
core
/
appfw
/
badge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
770839c
)
Fix db recovery
52/165452/2
author
Seungha Son
<seungha.son@samsung.com>
Fri, 29 Dec 2017 04:23:55 +0000
(13:23 +0900)
committer
Seungha Son
<seungha.son@samsung.com>
Fri, 29 Dec 2017 04:28:26 +0000
(13:28 +0900)
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I08f252ba21053bfeb70c0e61b457e8678614634c
src/badge_db.c
patch
|
blob
|
history
diff --git
a/src/badge_db.c
b/src/badge_db.c
index
e05af86
..
a96ba4c
100755
(executable)
--- 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;