aboutsummaryrefslogtreecommitdiff
path: root/src/libauth
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-02-15 05:04:36 +0000
committerrsc <devnull@localhost>2005-02-15 05:04:36 +0000
commit0c891f28dbdc5a61b191d778391664417aae445c (patch)
tree7f12941ae33ab03faecc03e00e95a527d545c4d0 /src/libauth
parent0cbccd3a0e84526d0de02d003d88c456be1f0ca7 (diff)
downloadplan9port-0c891f28dbdc5a61b191d778391664417aae445c.tar.gz
plan9port-0c891f28dbdc5a61b191d778391664417aae445c.tar.bz2
plan9port-0c891f28dbdc5a61b191d778391664417aae445c.zip
whoops -- close afid in auth_freerpc
Diffstat (limited to 'src/libauth')
-rw-r--r--src/libauth/auth_rpc.c2
1 files changed, 1 insertions, 1 deletions
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);
}