Skip to content

Commit 8027432

Browse files
committed
Remove incorrect comment
1 parent 9dbaed7 commit 8027432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httplib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4084,7 +4084,7 @@ inline void get_remote_ip_and_port(socket_t sock, std::string &ip, int &port) {
40844084
if (getsockopt(sock, SOL_SOCKET, SO_PEERCRED, &ucred, &len) == 0) {
40854085
port = ucred.pid;
40864086
}
4087-
#elif defined(SOL_LOCAL) && defined(SO_PEERPID) // __APPLE__
4087+
#elif defined(SOL_LOCAL) && defined(SO_PEERPID)
40884088
pid_t pid;
40894089
socklen_t len = sizeof(pid);
40904090
if (getsockopt(sock, SOL_LOCAL, SO_PEERPID, &pid, &len) == 0) {

0 commit comments

Comments
 (0)