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:
aet 2002-11-12 14:32:17 +00:00
parent 705b498a2a
commit 0ca5922274
1 changed files with 1 additions and 1 deletions

View File

@ -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)