From af993645bc4cb27af93cc0f5b96827639f80814f Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Tue, 21 Sep 2004 11:33:42 +0000 Subject: [PATCH] (loop): pass errsock status to init_ivecs git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14237 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/rsh/rsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/rsh/rsh.c b/appl/rsh/rsh.c index ecb82961d..836d590e2 100644 --- a/appl/rsh/rsh.c +++ b/appl/rsh/rsh.c @@ -90,7 +90,7 @@ loop (int s, int errsock) #ifdef KRB5 if(auth_method == AUTH_KRB5 && protocol_version == 2) - init_ivecs(1); + init_ivecs(1, errsock != -1); #endif if (s >= FD_SETSIZE || (errsock != -1 && errsock >= FD_SETSIZE))