]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Rename number to port.
authorUlrich Drepper <drepper@redhat.com>
Thu, 5 Aug 1999 01:05:39 +0000 (01:05 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 5 Aug 1999 01:05:39 +0000 (01:05 +0000)
nis/nss_nisplus/nisplus-service.c

index 36bf25a22a54a6264c195d8110a4685dff0d6ea5..1020ee732cccc33f258216ac7fa791196ab1aebc 100644 (file)
@@ -347,7 +347,7 @@ _nss_nisplus_getservbyname_r (const char *name, const char *protocol,
 }
 
 enum nss_status
-_nss_nisplus_getservbyport_r (const int number, const char *protocol,
+_nss_nisplus_getservbyport_r (const int port, const char *protocol,
                              struct servent *serv,
                              char *buffer, size_t buflen, int *errnop)
 {
@@ -371,7 +371,7 @@ _nss_nisplus_getservbyport_r (const int number, const char *protocol,
       char buf[60 + strlen (protocol) + tablename_len];
 
       sprintf (buf, "[port=%d,proto=%s],%s",
-              number, protocol, tablename_val);
+              port, protocol, tablename_val);
 
       result = nis_list (buf, FOLLOW_PATH | FOLLOW_LINKS, NULL, NULL);