From: Ulrich Drepper Date: Thu, 5 Aug 1999 01:05:39 +0000 (+0000) Subject: Rename number to port. X-Git-Tag: cvs/glibc_2-1-2~181 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d91df270ea09f1318d2c2245d5dcf8995e0210c2;p=thirdparty%2Fglibc.git Rename number to port. --- diff --git a/nis/nss_nisplus/nisplus-service.c b/nis/nss_nisplus/nisplus-service.c index 36bf25a22a5..1020ee732cc 100644 --- a/nis/nss_nisplus/nisplus-service.c +++ b/nis/nss_nisplus/nisplus-service.c @@ -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);