]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests/server: replace `strerror` with `sstrerror` in socksd
authorViktor Szakats <commit@vsz.me>
Tue, 4 Mar 2025 17:32:51 +0000 (18:32 +0100)
committerViktor Szakats <commit@vsz.me>
Tue, 4 Mar 2025 17:32:51 +0000 (18:32 +0100)
To follow the `errno` -> `SOCKERRNO` update.

Missed from the previous commit.

Follow-up to adcfd4fb3e9be1de0e506728066bea2aaa53c394 #16553

tests/server/socksd.c

index 83e86074689c3819016286565d99a9f78c1b19a3..58156e45b9f48b5af59b646f51e31a61e9ca0df7 100644 (file)
@@ -744,7 +744,7 @@ static bool incoming(curl_socket_t listenfd)
 
     if(rc < 0) {
       logmsg("select() failed with error: (%d) %s",
-             error, strerror(error));
+             error, sstrerror(error));
       return FALSE;
     }