← Commit list

e70f8ebd34

Viktor Szakats
Viktor Szakats
2026-06-15
SUCCESS Duration: 248s

Subject

servers: fix error message if unix socket path is not a socket

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/util.c+1 -1
@@ -706,7 +706,7 @@ int bind_unix_socket(curl_socket_t sock, const char *unix_socket,
}
#ifdef S_IFSOCK
if((statbuf.st_mode & S_IFSOCK) != S_IFSOCK) {
- logmsg("Error binding socket, failed to stat %s", unix_socket);
+ logmsg("Error binding socket, %s is not a socket", unix_socket);
return -1;
}
#endif