Pārlūkot izejas kodu

Remove incorrect comment

yhirose 7 mēneši atpakaļ
vecāks
revīzija
802743264c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      httplib.h

+ 1 - 1
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) {