commit 98c8f038acfbcb3f9366c9e22e5d75255187afeb from: Omar Polo date: Fri Jan 15 19:15:13 2021 UTC drop inet_ntop leftovers we switched to getnameinfo some time ago, but that call to inet_ntop remained. Fortunately, it doesn't harm, since what i wrote is overwritten by getnameinfo and the provided buffer should be large enough. commit - 7edc455ab4ba2c408558876339ac77a3104d0de2 commit + 98c8f038acfbcb3f9366c9e22e5d75255187afeb blob - 567517ab7750dac12ff34e749d5f0aa39fb7e3e0 blob + 899932f2b879f9a81c452bb98c35d7c42b44ebf6 --- cgi.c +++ cgi.c @@ -96,9 +96,6 @@ start_cgi(const char *spath, const char *relpath, cons if (dup2(p[1], 1) == -1) goto childerr; - if (inet_ntop(c->af, &c->addr, addr, sizeof(addr)) == NULL) - goto childerr; - ec = getnameinfo((struct sockaddr*)&c->addr, sizeof(c->addr), addr, sizeof(addr), NULL, 0,