Changeset 241f1985 in mainline for uspace/lib/conf/src/configuration.c
- Timestamp:
- 2019-08-31T10:45:17Z (6 years ago)
- Children:
- 102f641
- Parents:
- f92b315
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-23 22:04:34)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-31 10:45:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/conf/src/configuration.c
rf92b315 r241f1985 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.