diff options
Diffstat (limited to 'src/network/getservbyname_r.c')
-rw-r--r-- | src/network/getservbyname_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/getservbyname_r.c b/src/network/getservbyname_r.c index 8cdf622c..056c2f33 100644 --- a/src/network/getservbyname_r.c +++ b/src/network/getservbyname_r.c @@ -26,7 +26,7 @@ int getservbyname_r(const char *name, const char *prots, else if (!strcmp(prots, "udp")) proto = IPPROTO_UDP; else return EINVAL; - cnt = __lookup_serv(servs, name, proto, 0); + cnt = __lookup_serv(servs, name, proto, 0, 0); if (cnt<0) switch (cnt) { case EAI_MEMORY: case EAI_SYSTEM: |