improve to libusefull_macros v0.3.2

This commit is contained in:
2025-04-28 13:07:13 +03:00
parent 3090f2c85e
commit 7b4ecde5fb
17 changed files with 87 additions and 76 deletions

View File

@@ -290,7 +290,7 @@ confparam *chk_keyval(const char *key, const char *val, key_value *result){
break;
case PAR_DOUBLE:
//DBG("DOUBLE");
if(!str2double(&result->val.dblval, val)){
if(!sl_str2d(&result->val.dblval, val)){
WARNX("Wrong double value '%s' of parameter '%s'", val, key);
return NULL;
}