about summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-19 03:26:25 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-19 03:26:25 +0000
commit4dba81eafc9aead81c0644ea64f092bb2185e5b8 (patch)
tree93d15713b6f8d735eaa32b30d65749f724dd597d /inet
parent4d3a563f2ef4fce5590561162b5dfb6f18872414 (diff)
downloadglibc-4dba81eafc9aead81c0644ea64f092bb2185e5b8.tar.gz
glibc-4dba81eafc9aead81c0644ea64f092bb2185e5b8.tar.xz
glibc-4dba81eafc9aead81c0644ea64f092bb2185e5b8.zip
Update.
	* inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
	Patch by J. Richard Sladkey <jrs@world.std.com>.
Diffstat (limited to 'inet')
-rw-r--r--inet/rcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index 2d2ed8044f..c88f7ae1ef 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -349,7 +349,7 @@ iruserok2 (raddr, superuser, ruser, luser, rhost)
      const char *ruser, *luser, *rhost;
 {
   FILE *hostf = NULL;
-  int isbad;
+  int isbad = -1;
 
   if (!superuser)
     hostf = iruserfopen (_PATH_HEQUIV, 0);