aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/config.c
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-08-12 09:52:56 +1000
committerteor <teor@torproject.org>2019-08-12 09:52:56 +1000
commit789fdbed0586aeec5b312195a453c9ddaf8d58be (patch)
tree74468ed158b8594e110ae2445b84be19dab04409 /src/app/config/config.c
parenta92b05392e2e88357b0e2a1c31cfdb7e94406838 (diff)
parent3c3158f1826826d9b4e8841bc67855cca0fc883b (diff)
downloadtor-789fdbed0586aeec5b312195a453c9ddaf8d58be.tar.gz
tor-789fdbed0586aeec5b312195a453c9ddaf8d58be.zip
Merge remote-tracking branch 'tor-github/pr/1065' into maint-0.3.5
Diffstat (limited to 'src/app/config/config.c')
-rw-r--r--src/app/config/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c
index 7ccd76e7f0..68493e847d 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -7093,7 +7093,7 @@ parse_port_config(smartlist_t *out,
if (!strcasecmpstart(elt, "SessionGroup=")) {
int group = (int)tor_parse_long(elt+strlen("SessionGroup="),
10, 0, INT_MAX, &ok, NULL);
- if (!ok || !allow_no_stream_options) {
+ if (!ok || allow_no_stream_options) {
log_warn(LD_CONFIG, "Invalid %sPort option '%s'",
portname, escaped(elt));
goto err;