diff options
author | Alexander Færøy <ahf@torproject.org> | 2021-10-29 16:56:32 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2021-10-29 16:56:32 +0000 |
commit | 73f78a4888b3bb01a1586cba5aca8689655c58f5 (patch) | |
tree | 1b349f7400320a68368e60a12da181394542ae9f | |
parent | f439d0fe4430a1d4c114afc788a1e03999a70e51 (diff) | |
parent | 5c8deef9b67f7bf983dd96164c118317422c236b (diff) | |
download | tor-73f78a4888b3bb01a1586cba5aca8689655c58f5.tar.gz tor-73f78a4888b3bb01a1586cba5aca8689655c58f5.zip |
Merge branch 'maint-0.3.5' into release-0.3.5
-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 91277e374f..1c13ad3f24 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 |