summaryrefslogtreecommitdiff
path: root/src/app/config/confparse.c
diff options
context:
space:
mode:
authorKaidan <fishstacks@protonmail.com>2018-07-08 00:15:16 +1000
committerKaidan <fishstacks@protonmail.com>2018-07-08 00:15:16 +1000
commitabeb07a1bff4f68a3143bb47a6123c0fef83ff79 (patch)
tree801ffaf0bfcbc12d5f6a8cdcbc45359ff07efe97 /src/app/config/confparse.c
parent10c782d7fa227bb426af5bcbe0073c366d93594a (diff)
downloadtor-abeb07a1bff4f68a3143bb47a6123c0fef83ff79.tar.gz
tor-abeb07a1bff4f68a3143bb47a6123c0fef83ff79.zip
Made 'auto' keyword in torrc case insensitive
Diffstat (limited to 'src/app/config/confparse.c')
-rw-r--r--src/app/config/confparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/config/confparse.c b/src/app/config/confparse.c
index 5b7f54bc65..6fa4fd1ea8 100644
--- a/src/app/config/confparse.c
+++ b/src/app/config/confparse.c
@@ -267,7 +267,7 @@ config_assign_value(const config_format_t *fmt, void *options,
break;
case CONFIG_TYPE_AUTOBOOL:
- if (!strcmp(c->value, "auto"))
+ if (!strcasecmp(c->value, "auto"))
*(int *)lvalue = -1;
else if (!strcmp(c->value, "0"))
*(int *)lvalue = 0;