]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(ruserok): Use iruserok2 not iruserok.
authorUlrich Drepper <drepper@redhat.com>
Fri, 26 Nov 1999 22:21:44 +0000 (22:21 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 26 Nov 1999 22:21:44 +0000 (22:21 +0000)
inet/rcmd.c

index 5b478b35f78de8b5a5501ae2a07ae20d9acae9a2..26fe4d2e5852f099705410fe949325be781c75cf 100644 (file)
@@ -60,8 +60,10 @@ static char sccsid[] = "@(#)rcmd.c   8.3 (Berkeley) 3/26/94";
 int __ivaliduser __P ((FILE *, u_int32_t, const char *, const char *));
 static int __ivaliduser2 __P ((FILE *, u_int32_t, const char *, const char *,
                               const char *));
+static int iruserok2 (u_int32_t raddr, int superuser, const char *ruser,
+                     const char *luser, const char *rhost);
 int iruserok (u_int32_t raddr, int superuser, const char *ruser,
-             const char*luser);
+             const char *luser);
 
 
 int
@@ -291,7 +293,7 @@ ruserok(rhost, superuser, ruser, luser)
 
        for (ap = hp->h_addr_list; *ap; ++ap) {
                bcopy(*ap, &addr, sizeof(addr));
-               if (iruserok(addr, superuser, ruser, luser, rhost) == 0)
+               if (iruserok2(addr, superuser, ruser, luser, rhost) == 0)
                        return 0;
        }
        return -1;