Changeset 241f1985 in mainline for uspace/lib/conf/src/configuration.c


Ignore:
Timestamp:
2019-08-31T10:45:17Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
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)
Message:

Correcting failure from previous merge

The commits from Michal Koutný from the branch system-daemon
where built on a old version of Helenos. Because of this
many types and API functions have changed. This commit
upgrades the merge code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/conf/src/configuration.c

    rf92b315 r241f1985  
    138138{
    139139        bool value;
    140         if (stricmp(string, "true") == 0 ||
    141             stricmp(string, "yes") == 0 ||
    142             stricmp(string, "1") == 0) {
     140        if (str_casecmp(string, "true") == 0 ||
     141            str_casecmp(string, "yes") == 0 ||
     142            str_casecmp(string, "1") == 0) {
    143143                value = true;
    144         } else if (stricmp(string, "false") == 0 ||
    145             stricmp(string, "no") == 0 ||
    146             stricmp(string, "0") == 0) {
     144        } else if (str_casecmp(string, "false") == 0 ||
     145            str_casecmp(string, "no") == 0 ||
     146            str_casecmp(string, "0") == 0) {
    147147                value = false;
    148148        } else {
Note: See TracChangeset for help on using the changeset viewer.