whoops -- close afid in auth_freerpc

This commit is contained in:
rsc 2005-02-15 05:04:36 +00:00
parent 0cbccd3a0e
commit 0c891f28db

View file

@ -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);
}