mirror of
https://github.com/curl/curl.git
synced 2026-06-18 08:35:37 +03:00
servers: fix error message if unix socket path is not a socket
Follow-up to 99fb36797a
Cherry-picked from #22010
Closes #22020
This commit is contained in:
parent
a6d9783894
commit
e70f8ebd34
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue