aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-02 15:31:49 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-13 10:41:18 -0400
commit6f5998fd73849b98c9c1a017845c0669c32fda5d (patch)
treeb37a2224aa830a23beacd400e269f2019529a20f /src/or
parent61c06cbc66ecfaece20501417ef81b3f6f202391 (diff)
downloadtor-6f5998fd73849b98c9c1a017845c0669c32fda5d.tar
tor-6f5998fd73849b98c9c1a017845c0669c32fda5d.tar.gz
Correct the signature for is_listening_on_low_port for "auto" ports
Diffstat (limited to 'src/or')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 055a4b891..914c4cb3b 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