[or-cvs] r17206: {tor} vidalia asks us for the value of the Group config option. bu (tor/trunk/src/or)

arma at seul.org arma at seul.org
Fri Nov 7 04:38:58 UTC 2008


Author: arma
Date: 2008-11-06 23:38:58 -0500 (Thu, 06 Nov 2008)
New Revision: 17206

Modified:
   tor/trunk/src/or/config.c
Log:
vidalia asks us for the value of the Group config option. but now
it's obsolete. which causes us to inform the user every time, even
though the user can't do anything about it other than get confused.

now it's an info-level log by default.


Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c	2008-11-07 04:35:41 UTC (rev 17205)
+++ tor/trunk/src/or/config.c	2008-11-07 04:38:58 UTC (rev 17206)
@@ -1988,9 +1988,9 @@
         result->value = tor_strdup("");
       break;
     case CONFIG_TYPE_OBSOLETE:
-      log_warn(LD_CONFIG,
-               "You asked me for the value of an obsolete config option '%s'.",
-               key);
+      log_fn(LOG_PROTOCOL_WARN, LD_CONFIG,
+             "You asked me for the value of an obsolete config option '%s'.",
+             key);
       tor_free(result->key);
       tor_free(result);
       return NULL;



More information about the tor-commits mailing list