upgraded to match new osiSufficentSpaceInPool() api

This commit is contained in:
Jeff Hill
2002-02-28 00:04:14 +00:00
parent 4e9b0db835
commit 368b019c46

View File

@@ -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<cadg *>(&pBufIn[totalBytes]);
assert (totalBytes<=bufSizeT_MAX-pHdr->cadg_nBytes);