From 4a730a5b88be5f49097a00d5fdebdea6128ef72f Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 13 Dec 2002 20:45:57 +0000 Subject: [PATCH] fixed debug code --- src/cas/generic/st/casStreamOS.cc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/cas/generic/st/casStreamOS.cc b/src/cas/generic/st/casStreamOS.cc index 676074d25..711fe5fda 100644 --- a/src/cas/generic/st/casStreamOS.cc +++ b/src/cas/generic/st/casStreamOS.cc @@ -50,9 +50,9 @@ inline casStreamReadReg::casStreamReadReg (casStreamOS &osIn) : # if defined(DEBUG) printf ("Read on %d\n", this->os.getFD()); printf ("Recv backlog %u\n", - this->os.inBuf::bytesPresent()); + this->os.in.bytesPresent()); printf ("Send backlog %u\n", - this->os.outBuf::bytesPresent()); + this->os.out.bytesPresent()); # endif } @@ -65,9 +65,9 @@ inline casStreamReadReg::~casStreamReadReg () # if defined(DEBUG) printf ("Read off %d\n", this->os.getFD()); printf ("Recv backlog %u\n", - this->os.inBuf::bytesPresent()); + this->os.in.bytesPresent()); printf ("Send backlog %u\n", - this->os.outBuf::bytesPresent()); + this->os.out.bytesPresent()); # endif } @@ -96,9 +96,9 @@ inline casStreamWriteReg::casStreamWriteReg (casStreamOS &osIn) : # if defined(DEBUG) printf ("Write on %d\n", this->os.getFD()); printf ("Recv backlog %u\n", - this->os.inBuf::bytesPresent()); + this->os.in.bytesPresent()); printf ("Send backlog %u\n", - this->os.outBuf::bytesPresent()); + this->os.out.bytesPresent()); # endif } @@ -111,9 +111,9 @@ inline casStreamWriteReg::~casStreamWriteReg () # if defined(DEBUG) printf ("Write off %d\n", this->os.getFD()); printf ("Recv backlog %u\n", - this->os.inBuf::bytesPresent()); + this->os.in.bytesPresent()); printf ("Send backlog %u\n", - this->os.outBuf::bytesPresent()); + this->os.out.bytesPresent()); # endif } @@ -526,8 +526,8 @@ void casStreamOS::sendCB() # if defined(DEBUG) printf ("write attempted on %d result was %d\n", this->getFD(), flushCond); - printf ("Recv backlog %u\n", this->inBuf::bytesPresent()); - printf ("Send backlog %u\n", this->outBuf::bytesPresent()); + printf ("Recv backlog %u\n", this->in.bytesPresent()); + printf ("Send backlog %u\n", this->out.bytesPresent()); # endif // @@ -572,8 +572,8 @@ casProcCond casStreamOS::processInput() // X aCC 361 # ifdef DEBUG printf( "Resp bytes to send=%d, Req bytes pending %d\n", - this->outBuf::bytesPresent(), - this->inBuf::bytesPresent()); + this->out.bytesPresent(), + this->in.bytesPresent()); # endif status = this->processMsg();