X-Git-Url: http://www.privoxy.org/gitweb/show-status?a=blobdiff_plain;f=loadcfg.c;h=188af095b66a5793a4ce7e5a7f74f79b5b7fd9e9;hb=779234e5dd6c43b1c7c5a41ae0cecc265204ca06;hp=4efa2ea166bc958acf8d4f514276b01cfbf2c46d;hpb=2877181ccfbab6dc936b250d539b3ed89af838f0;p=privoxy.git diff --git a/loadcfg.c b/loadcfg.c index 4efa2ea1..188af095 100644 --- a/loadcfg.c +++ b/loadcfg.c @@ -430,7 +430,7 @@ static int parse_numeric_value(const char *name, const char *value) log_error(LOG_LEVEL_FATAL, "Directive %s used without argument", name); } - number = (int)strtol(value, &endptr, 0); + number = (int)strtol(value, &endptr, 10); if (*endptr != '\0') { log_error(LOG_LEVEL_FATAL,