Changeset c0e4fc50 in mainline for uspace/lib/conf/src/configuration.c
- Timestamp:
- 2019-08-03T09:29:55Z (5 years ago)
- Children:
- dda2602
- Parents:
- 5559712
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-05-08 11:02:56)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-03 09:29:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/conf/src/configuration.c
r5559712 rc0e4fc50 43 43 const char *string = ini_item_iterator_value(it); 44 44 const size_t lineno = ini_item_iterator_lineno(it); 45 has_error = has_error ||46 config_item->parse(string, field_dst, parse, lineno);45 bool success = config_item->parse(string, field_dst, parse, lineno); 46 has_error = has_error || !success; 47 47 } 48 48 … … 104 104 } 105 105 106 return has_error ? E OK : EINVAL;106 return has_error ? EINVAL : EOK; 107 107 } 108 108
Note:
See TracChangeset
for help on using the changeset viewer.