diff options
author | Alexander Færøy <ahf@torproject.org> | 2021-02-05 17:17:05 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2021-02-05 17:17:05 +0000 |
commit | 34968048273faf0cde4d0c69d466b4d8d7275ab7 (patch) | |
tree | 41dbd70c15a16648caf056cd5524f80e1d909c3f /src/test | |
parent | 0a40892e8c376a3106cec1a4e9ba74f4dd146e68 (diff) | |
parent | 62b98716ff4823cff6f8e70c262766d1f25f252f (diff) | |
download | tor-34968048273faf0cde4d0c69d466b4d8d7275ab7.tar.gz tor-34968048273faf0cde4d0c69d466b4d8d7275ab7.zip |
Merge branch 'maint-0.4.4' into maint-0.4.5
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_switch_id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_switch_id.c b/src/test/test_switch_id.c index a911269c99..f97af55d17 100644 --- a/src/test/test_switch_id.c +++ b/src/test/test_switch_id.c @@ -31,6 +31,8 @@ static const struct { { NULL, 0 } }; +#if !defined(_WIN32) + /* Returns the first port that we think we can bind to without special * permissions. Usually this function returns 1024. */ static uint16_t @@ -67,8 +69,6 @@ unprivileged_port_range_start(void) return result; } -#if !defined(_WIN32) - #define PORT_TEST_RANGE_START 600 #define PORT_TEST_RANGE_END 1024 |