use SOCKET_ERROR_STRING instead of strerror (for WIN32 compat)

This commit is contained in:
F. Duncanh
2025-04-26 19:31:19 -04:00
parent 7a643a65aa
commit fa7456553b
2 changed files with 2 additions and 2 deletions

View File

@@ -471,7 +471,7 @@ httpd_thread(void *arg)
} else {
int sock_err = SOCKET_GET_ERROR();
logger_log(httpd->logger, LOGGER_ERR, "httpd: recv socket error %d:%s",
sock_err, strerror(sock_err));
sock_err, SOCKET_ERROR_STRING(sock_err));
break;
}
} else {