Changeset 0f75a63 in mainline for uspace/lib/conf/src/configuration.c
- Timestamp:
- 2020-07-05T21:01:49Z (5 years ago)
- Children:
- 6efe1b78
- Parents:
- 0c01270
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-23 22:04:34)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2020-07-05 21:01:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/conf/src/configuration.c
r0c01270 r0f75a63 138 138 { 139 139 bool value; 140 if (str icmp(string, "true") == 0 ||141 str icmp(string, "yes") == 0 ||142 str icmp(string, "1") == 0) {140 if (str_casecmp(string, "true") == 0 || 141 str_casecmp(string, "yes") == 0 || 142 str_casecmp(string, "1") == 0) { 143 143 value = true; 144 } else if (str icmp(string, "false") == 0 ||145 str icmp(string, "no") == 0 ||146 str icmp(string, "0") == 0) {144 } else if (str_casecmp(string, "false") == 0 || 145 str_casecmp(string, "no") == 0 || 146 str_casecmp(string, "0") == 0) { 147 147 value = false; 148 148 } else {
Note:
See TracChangeset
for help on using the changeset viewer.