← Commit list

f2a75a14dd

Daniel Stenberg
Daniel Stenberg
2025-11-13
SUCCESS Duration: 143s

Subject

sws: repair --port, and accept any port

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/server/mqttd.c+1 -1
@@ -801,7 +801,7 @@ static int test_mqttd(int argc, char *argv[])
arg++;
if(argc > arg) {
opt = argv[arg];
- if(curlx_str_number(&opt, &num, 0xffff) || num < 1025) {
+ if(curlx_str_number(&opt, &num, 0xffff)) {
fprintf(stderr, "mqttd: invalid --port argument (%s)\n",
argv[arg]);
return 0;
tests/server/sockfilt.c+1 -1
@@ -1305,7 +1305,7 @@ static int test_sockfilt(int argc, char *argv[])
arg++;
if(argc > arg) {
opt = argv[arg];
- if(curlx_str_number(&opt, &num, 0xffff) || num < 1025) {
+ if(curlx_str_number(&opt, &num, 0xffff)) {
fprintf(stderr, "sockfilt: invalid --connect argument (%s)\n",
argv[arg]);
return 0;
tests/server/sws.c+1 -1
@@ -2096,7 +2096,7 @@ static int test_sws(int argc, char *argv[])
arg++;
if(argc > arg) {
opt = argv[arg];
- if(curlx_str_number(&opt, &num, 0xffff) || num < 1025) {
+ if(curlx_str_number(&opt, &num, 0xffff)) {
fprintf(stderr, "sws: invalid --port argument (%s)\n",
argv[arg]);
return 0;