summaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-27 11:54:38 +0200
committerMichael Adam <obnox@samba.org>2009-09-27 12:32:31 +0200
commiteecf145dbb77d3286014fcdf3e064022594d96c0 (patch)
tree9d8c897992dc4169e68d9268cf0dbffacac75b94 /src/conf.c
parent0539be08b46e04e39af08899bd1d942765ab4db4 (diff)
downloadtinyproxy-eecf145dbb77d3286014fcdf3e064022594d96c0.tar.gz
tinyproxy-eecf145dbb77d3286014fcdf3e064022594d96c0.zip
conf: turn XTinyproxy into a boolean option
This is what it actually is. The string value was used in earlier versions to compare against the uri->authority string. But not as a list of sites to create an X-Tinyproxy header for, as the tinyproxy.conf template states... Michael
Diffstat (limited to '')
-rw-r--r--src/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index f6d44b8..99d8c84 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -457,7 +457,7 @@ static HANDLE_FUNC (handle_stathost)
static HANDLE_FUNC (handle_xtinyproxy)
{
#ifdef XTINYPROXY_ENABLE
- return set_string_arg (&conf->my_domain, line, &match[2]);
+ return set_bool_arg (&conf->add_xtinyproxy, line, &match[2]);
#else
fprintf (stderr,
"XTinyproxy NOT Enabled! Recompile with --enable-xtinyproxy\n");