plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 0c891f28dbdc5a61b191d778391664417aae445c
parent 0cbccd3a0e84526d0de02d003d88c456be1f0ca7
Author: rsc <devnull@localhost>
Date:   Tue, 15 Feb 2005 05:04:36 +0000

whoops -- close afid in auth_freerpc

Diffstat:
Msrc/libauth/auth_rpc.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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); }