summaryrefslogtreecommitdiff
path: root/src/or/config.c
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 /src/or/config.c
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
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c3
1 files changed, 2 insertions, 1 deletions
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;