cleaned up locking

This commit is contained in:
Jeff Hill
1997-08-05 00:51:40 +00:00
parent 8b97305072
commit 86305c8680

View File

@@ -693,12 +693,12 @@ const struct in_addr *pnet_addr
LOCK;
chan = (ciu) bucketLookupItemUnsignedId(
pSlowBucket, &piiu->curMsg.m_cid);
UNLOCK;
if(!chan){
/*
* end up here if they delete the channel
* prior to connecting
*/
UNLOCK;
break;
}
@@ -713,6 +713,7 @@ const struct in_addr *pnet_addr
args.ar = chan->ar;
(*chan->pAccessRightsFunc)(args);
}
UNLOCK;
break;
}
case CA_PROTO_CLAIM_CIU: