From 26db3f6cc95c2eae533234b6140c23233284a404 Mon Sep 17 00:00:00 2001 From: Tristan Stenner Date: Fri, 29 Apr 2022 15:32:53 +0200 Subject: [PATCH] Allow "XTinyProxy No" with xtinyproxy disabled --- src/conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/conf.c b/src/conf.c index 4e6d19e..7033661 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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;