(iruserok): Initialize hostf variable to NULL.
authordrepper <drepper>
Fri, 24 Apr 1998 13:01:02 +0000 (13:01 +0000)
committerdrepper <drepper>
Fri, 24 Apr 1998 13:01:02 +0000 (13:01 +0000)
inet/rcmd.c

index 05bd1d5..a8a6bc4 100644 (file)
@@ -345,7 +345,7 @@ iruserok (raddr, superuser, ruser, luser)
      int superuser;
      const char *ruser, *luser;
 {
-  FILE *hostf;
+  FILE *hostf = NULL;
   int isbad;
 
   if (!superuser)