[Privoxy-devel] atoi vs. parse_numeric_value
Lee
ler762 at gmail.com
Sat May 7 18:16:24 UTC 2016
Now that loadcfg.c has changed from
case hash_debug :
config->debug |= atoi(arg);
to
case hash_debug :
config->debug |= parse_numeric_value(cmd, arg);
anyone else like the idea of changing the privoxy config debug flags
to actually look like bit flags?
$ grep "^debug " config.txt
debug 0x0001 # Log the destination for each request Privoxy let through.
debug 0x0002 # Show connection status
debug 0x0400 # Log the destination for requests Privoxy didn't let through
debug 0x1000 # Startup banner and warnings
debug 0x2000 # Non-fatal errors
debug 0x4000 # Fatal errors
Lee
More information about the Privoxy-devel
mailing list