[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r9247: - When the user uses bad syntax in the Log config line, stop (in tor/trunk: . src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r9247: - When the user uses bad syntax in the Log config line, stop (in tor/trunk: . src/or)
- From: arma@xxxxxxxx
- Date: Tue, 2 Jan 2007 22:56:17 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 02 Jan 2007 22:56:24 -0500
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: arma
Date: 2007-01-02 22:56:17 -0500 (Tue, 02 Jan 2007)
New Revision: 9247
Modified:
tor/trunk/ChangeLog
tor/trunk/src/or/config.c
Log:
- When the user uses bad syntax in the Log config line, stop
suggesting other bad syntax as a replacement.
Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog 2007-01-03 03:45:53 UTC (rev 9246)
+++ tor/trunk/ChangeLog 2007-01-03 03:56:17 UTC (rev 9247)
@@ -132,6 +132,8 @@
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.
Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c 2007-01-03 03:45:53 UTC (rev 9246)
+++ tor/trunk/src/or/config.c 2007-01-03 03:56:17 UTC (rev 9247)
@@ -3248,7 +3248,8 @@
(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;