From 802743264cecd24291b703dea9d7caa42490ef5c Mon Sep 17 00:00:00 2001 From: yhirose Date: Tue, 8 Jul 2025 23:53:52 -0400 Subject: [PATCH] Remove incorrect comment --- httplib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httplib.h b/httplib.h index a2a7f2a..3495500 100644 --- a/httplib.h +++ b/httplib.h @@ -4084,7 +4084,7 @@ inline void get_remote_ip_and_port(socket_t sock, std::string &ip, int &port) { if (getsockopt(sock, SOL_SOCKET, SO_PEERCRED, &ucred, &len) == 0) { port = ucred.pid; } -#elif defined(SOL_LOCAL) && defined(SO_PEERPID) // __APPLE__ +#elif defined(SOL_LOCAL) && defined(SO_PEERPID) pid_t pid; socklen_t len = sizeof(pid); if (getsockopt(sock, SOL_LOCAL, SO_PEERPID, &pid, &len) == 0) {