[tor-commits] [tor/release-0.2.2] Correct the signature for is_listening_on_low_port for "auto" ports

arma at torproject.org arma at torproject.org
Sat May 14 03:38:42 UTC 2011


commit 6f5998fd73849b98c9c1a017845c0669c32fda5d
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon May 2 15:31:49 2011 -0400

    Correct the signature for is_listening_on_low_port for "auto" ports
---
 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 055a4b8..914c4cb 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2623,7 +2623,7 @@ options_init(or_options_t *options)
  * it is, or 0 if it isn't or the concept of a low port isn't applicable for
  * the platform we're on. */
 static int
-is_listening_on_low_port(uint16_t port_option,
+is_listening_on_low_port(int port_option,
                          const config_line_t *listen_options)
 {
 #ifdef MS_WINDOWS





More information about the tor-commits mailing list