diff options
-rw-r--r-- | getservinfo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/getservinfo.c b/getservinfo.c index 3fc87b8..0db7bc0 100644 --- a/getservinfo.c +++ b/getservinfo.c @@ -132,9 +132,6 @@ int getservinfo( snprintf(myServ, sizeof(myServ), "%hu", port); struct addrinfo myHints = *hints; -#ifdef AI_DEFAULT - if (!myHints.ai_flags) myHints.ai_flags = AI_DEFAULT; -#endif myHints.ai_flags |= AI_NUMERICSERV; myHints.ai_flags &= ~AI_CANONNAME; |