From 368b019c46294f645cdbf9b21610ec9129acff95 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 28 Feb 2002 00:04:14 +0000 Subject: [PATCH] upgraded to match new osiSufficentSpaceInPool() api --- src/cas/generic/casDGClient.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cas/generic/casDGClient.cc b/src/cas/generic/casDGClient.cc index bdb43aa5a..7cc4457e9 100644 --- a/src/cas/generic/casDGClient.cc +++ b/src/cas/generic/casDGClient.cc @@ -127,7 +127,7 @@ caStatus casDGClient::searchAction() // search requests, and therefore dont thrash through // caServer::pvExistTest() and casCreatePV::pvAttach() // - if (!osiSufficentSpaceInPool()) { + if (!osiSufficentSpaceInPool(0)) { return S_cas_success; } @@ -368,7 +368,7 @@ outBuf::flushCondition casDGClient::xSend (char *pBufIn, // X aCC 361 assert (nBytesAvailableToSend>=nBytesNeedToBeSent); totalBytes = 0; - while (1) { + while ( true ) { pHdr = reinterpret_cast(&pBufIn[totalBytes]); assert (totalBytes<=bufSizeT_MAX-pHdr->cadg_nBytes);