Allow "XTinyProxy No" with xtinyproxy disabled

This commit is contained in:
Tristan Stenner authored and rofl0r committed 2022-05-02 08:32:54 +01:00
1 parent 14d31ed63f
commit 26db3f6cc9
1 file changed
+2
+2
View File
@@ -707,6 +707,8 @@ static HANDLE_FUNC (handle_xtinyproxy)
#ifdef XTINYPROXY_ENABLE
return set_bool_arg (&conf->add_xtinyproxy, line, &match[2]);
#else
if(!get_bool_arg(line, &match[2]))
return 0;
fprintf (stderr,
"XTinyproxy NOT Enabled! Recompile with --enable-xtinyproxy\n");
return 1;