cleaning up

This commit is contained in:
Jeff Hill
2000-06-23 21:58:18 +00:00
parent adf84044d2
commit 703080f8fa
9 changed files with 217 additions and 185 deletions

View File

@@ -105,11 +105,11 @@ void searchTimer::setRetryInterval (unsigned retryNo)
// at least one response. However, dont reset this delay if we
// get a delayed response to an old search request.
//
void searchTimer::notifySearchResponse (nciu *pChan)
void searchTimer::notifySearchResponse ( unsigned short retrySeqNo )
{
this->iiu.pcas->lock ();
if ( this->retrySeqNoAtListBegin <= pChan->retrySeqNo ) {
if ( this->retrySeqNoAtListBegin <= retrySeqNo ) {
if ( this->searchResponses < ULONG_MAX ) {
this->searchResponses++;
}
@@ -117,7 +117,7 @@ void searchTimer::notifySearchResponse (nciu *pChan)
this->iiu.pcas->unlock ();
if ( pChan->retrySeqNo == this->retrySeqNo ) {
if ( retrySeqNo == this->retrySeqNo ) {
this->reschedule (0.0);
}
}