From 0c891f28dbdc5a61b191d778391664417aae445c Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 15 Feb 2005 05:04:36 +0000 Subject: whoops -- close afid in auth_freerpc --- src/libauth/auth_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libauth') diff --git a/src/libauth/auth_rpc.c b/src/libauth/auth_rpc.c index b9fa737e..6df4d096 100644 --- a/src/libauth/auth_rpc.c +++ b/src/libauth/auth_rpc.c @@ -82,7 +82,7 @@ auth_freerpc(AuthRpc *rpc) { if(rpc->afd >= 0) close(rpc->afd); - if(rpc->afid == nil) + if(rpc->afid != nil) fsclose(rpc->afid); free(rpc); } -- cgit v1.2.3