diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/network/lookup_serv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/lookup_serv.c b/src/network/lookup_serv.c index 66ebaea2..403b12ae 100644 --- a/src/network/lookup_serv.c +++ b/src/network/lookup_serv.c @@ -64,7 +64,7 @@ int __lookup_serv(struct service buf[static MAXSERVS], const char *name, int pro return cnt; } - if (flags & AI_NUMERICSERV) return EAI_SERVICE; + if (flags & AI_NUMERICSERV) return EAI_NONAME; size_t l = strlen(name); |