Allow "XTinyProxy No" with xtinyproxy disabled
This commit is contained in:
parent
14d31ed63f
commit
26db3f6cc9
@ -707,6 +707,8 @@ static HANDLE_FUNC (handle_xtinyproxy)
|
|||||||
#ifdef XTINYPROXY_ENABLE
|
#ifdef XTINYPROXY_ENABLE
|
||||||
return set_bool_arg (&conf->add_xtinyproxy, line, &match[2]);
|
return set_bool_arg (&conf->add_xtinyproxy, line, &match[2]);
|
||||||
#else
|
#else
|
||||||
|
if(!get_bool_arg(line, &match[2]))
|
||||||
|
return 0;
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"XTinyproxy NOT Enabled! Recompile with --enable-xtinyproxy\n");
|
"XTinyproxy NOT Enabled! Recompile with --enable-xtinyproxy\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user