summaryrefslogtreecommitdiff
path: root/nscd/nscd_getserv_r.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-06-12 16:53:43 +0000
committerJakub Jelinek <jakub@redhat.com>2008-06-12 16:53:43 +0000
commit72d4ac23660326e76443cf18f0ed8c2e4792d268 (patch)
treedec24311250bb61298456c3eb0e8937c3a4b7561 /nscd/nscd_getserv_r.c
parent8ba7d5cebbd4acf40dc8d22982baa50c2e1fd194 (diff)
Updated to fedora-glibc-20080612T1619cvs/fedora-glibc-2_8_90-6
Diffstat (limited to 'nscd/nscd_getserv_r.c')
-rw-r--r--nscd/nscd_getserv_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/nscd_getserv_r.c b/nscd/nscd_getserv_r.c
index 3cd5a24298..b1ad7e2e43 100644
--- a/nscd/nscd_getserv_r.c
+++ b/nscd/nscd_getserv_r.c
@@ -53,7 +53,7 @@ __nscd_getservbyport_r (int port, const char *proto,
portstr[sizeof (portstr) - 1] = '\0';
char *cp = _itoa_word (port, portstr + sizeof (portstr) - 1, 10, 0);
- return nscd_getserv_r (portstr, portstr + sizeof (portstr) - cp, proto,
+ return nscd_getserv_r (cp, portstr + sizeof (portstr) - cp, proto,
GETSERVBYPORT, result_buf, buf, buflen, result);
}