Merge with dvbsak.sf.net
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@715 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
705b498a2a
commit
0ca5922274
|
@ -146,7 +146,7 @@ int scconf_get_int(const scconf_block * block, const char *option, int def)
|
|||
const scconf_list *list;
|
||||
|
||||
list = scconf_find_list(block, option);
|
||||
return !list ? def : atoi(list->data);
|
||||
return !list ? def : strtol(list->data, NULL, 0);
|
||||
}
|
||||
|
||||
int scconf_get_bool(const scconf_block * block, const char *option, int def)
|
||||
|
|
Loading…
Reference in New Issue