From 1f8a80722f44d9c24c4a48d21a944947c9a34b96 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 15 Mar 2005 16:11:47 +0000 Subject: appease sun --- src/cmd/auth/factotum/conv.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/cmd/auth/factotum/conv.c') diff --git a/src/cmd/auth/factotum/conv.c b/src/cmd/auth/factotum/conv.c index 862993f9..a39abff5 100644 --- a/src/cmd/auth/factotum/conv.c +++ b/src/cmd/auth/factotum/conv.c @@ -192,12 +192,9 @@ convwrite(Conv *c, void *data, int count) { Rpc *r; - for(;;){ - r = convgetrpc(c, RpcRead); - if(r == nil) - return -1; - break; - } + r = convgetrpc(c, RpcRead); + if(r == nil) + return -1; rpcrespondn(c, "ok", data, count); return 0; } -- cgit v1.2.3