[tor-commits] [tor/master] Fix a warning message. (Found by rransom)

nickm at torproject.org nickm at torproject.org
Wed Jul 20 17:14:41 UTC 2011


commit 2a6d12c7adafe679882195b15d6245f2888d12ee
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Jul 20 13:15:04 2011 -0400

    Fix a warning message. (Found by rransom)
---
 src/or/config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/config.c b/src/or/config.c
index efee014..1ad4a34 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -4941,7 +4941,7 @@ parse_client_port_config(smartlist_t *out,
        mainport = (int)tor_parse_long(ports->value, 10, 0, 65535, &ok, NULL);
        if (!ok) {
          log_warn(LD_CONFIG, "%sListenAddress can only be used with a single "
-                  "%sPort with value \"auto\" or 65535.", portname, portname);
+                  "%sPort with value \"auto\" or 1-65535.", portname, portname);
          return -1;
        }
      }



More information about the tor-commits mailing list