projects
/
platform
/
core
/
api
/
notification.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee02155
)
Check coding style
23/202623/1
author
mk5004.lee
<mk5004.lee@samsung.com>
Tue, 2 Apr 2019 02:12:36 +0000
(11:12 +0900)
committer
mk5004.lee
<mk5004.lee@samsung.com>
Tue, 2 Apr 2019 02:12:36 +0000
(11:12 +0900)
- Add parentheses
Change-Id: I1347d817c5aff07a0148e9c126f02e39cab8ebc4
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
notification/src/notification_shared_file.c
patch
|
blob
|
history
diff --git
a/notification/src/notification_shared_file.c
b/notification/src/notification_shared_file.c
index 7ca23d9cef9be2324f5ce59de59deb9dd3e68531..f757ede104e59d78c2cd55f167c1b01330b4f3ff 100644
(file)
--- a/
notification/src/notification_shared_file.c
+++ b/
notification/src/notification_shared_file.c
@@
-137,12
+137,14
@@
static const char *__last_index_of(const char *path, const char *search)
index = path + strlen(path) - search_len;
while (index >= path) {
- for (i = 0; i < search_len; i++)
+ for (i = 0; i < search_len; i++)
{
if (index[i] != search[i])
break;
+ }
if (i == search_len)
return index;
+
index--;
}