aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/auth/factotum/conv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/auth/factotum/conv.c')
-rw-r--r--src/cmd/auth/factotum/conv.c9
1 files changed, 3 insertions, 6 deletions
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;
}