X-Git-Url: http://www.privoxy.org/gitweb/templates.html?a=blobdiff_plain;f=loadcfg.c;h=188af095b66a5793a4ce7e5a7f74f79b5b7fd9e9;hb=ebce9f65e40e1e256e89338ed5185321055bf4c0;hp=6857fb462251bd3ef89be8b1a4fc8be795c0607a;hpb=59f4954652cfec7ce580c50543093bf96d0b7830;p=privoxy.git diff --git a/loadcfg.c b/loadcfg.c index 6857fb46..188af095 100644 --- a/loadcfg.c +++ b/loadcfg.c @@ -7,7 +7,7 @@ * routine to load the configuration and the global * variables it writes to. * - * Copyright : Written by and Copyright (C) 2001-2017 the + * Copyright : Written by and Copyright (C) 2001-2022 the * Privoxy team. https://www.privoxy.org/ * * Based on the Internet Junkbuster originally written @@ -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,