summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-01-03 03:56:17 +0000
committerRoger Dingledine <arma@torproject.org>2007-01-03 03:56:17 +0000
commit9545bbf57f51d2f8fd84f52087d1d9884f71671c (patch)
tree3c73bd0f789cc5c5e1b19ed2da5d103f28f1ce33
parent7396b8eecfe66589f534a652ffdb442ce9168ab3 (diff)
downloadtor-9545bbf57f51d2f8fd84f52087d1d9884f71671c.tar.gz
tor-9545bbf57f51d2f8fd84f52087d1d9884f71671c.zip
- When the user uses bad syntax in the Log config line, stop
suggesting other bad syntax as a replacement. svn:r9247
-rw-r--r--ChangeLog2
-rw-r--r--src/or/config.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d799c8f238..98ca8d9ef4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -132,6 +132,8 @@ Changes in version 0.1.2.5-alpha - 2007-01-03
the nameserver is dead. (Also bug #326)
- Directory authorities now only decide that routers are reachable
if their identity keys are as expected.
+ - When the user uses bad syntax in the Log config line, stop
+ suggesting other bad syntax as a replacement.
o Controller features:
- Have GETINFO dir/status/* work on hosts with DirPort disabled.
diff --git a/src/or/config.c b/src/or/config.c
index 67c6140748..c512dc038a 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3248,7 +3248,8 @@ options_init_logs(or_options_t *options, int validate_only)
(const char*)smartlist_get(elts,1));
if (strchr(smartlist_get(elts,1), '/') ||
strchr(smartlist_get(elts,1), '\\')) {
- log_warn(LD_CONFIG, "Did you mean to say 'Log file %s' ?",
+ log_warn(LD_CONFIG, "Did you mean to say 'Log %s file %s' ?",
+ (const char *)smartlist_get(elts,0),
(const char *)smartlist_get(elts,1));
}
ok = 0; goto cleanup;