projects
/
platform
/
core
/
system
/
crash-worker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e76afd6
)
config: Ignore case of ReportType key values
09/226209/5
author
Karol Lewandowski
<k.lewandowsk@samsung.com>
Thu, 27 Feb 2020 17:48:12 +0000
(18:48 +0100)
committer
Karol Lewandowski
<k.lewandowsk@samsung.com>
Tue, 3 Mar 2020 08:23:33 +0000
(09:23 +0100)
Change-Id: Ifb46e382eaf3b56681103b4220a85a93dd9e9847
src/shared/config.c
patch
|
blob
|
history
diff --git
a/src/shared/config.c
b/src/shared/config.c
index
888af9a
..
a35d191
100644
(file)
--- a/
src/shared/config.c
+++ b/
src/shared/config.c
@@
-46,7
+46,7
@@
enum ReportType report_type_from_str(const char *report_type_str)
assert(report_type_str);
for (int i = 0; i < (int)ARRAY_SIZE(report_type_strmap); i++) {
- if (0 == strcmp(report_type_str, report_type_strmap[i]))
+ if (0 == strc
asec
mp(report_type_str, report_type_strmap[i]))
return (enum ReportType)i;
}