Changeset 20888

Show
Ignore:
Timestamp:
10/30/07 15:12:12 (1 year ago)
Author:
patrick
Message:

Fixed compile errors.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/vapor/test/TestSuite/TestCases/IO/Stats/SocketBandwidthIOStatsTest.cpp

    r19550 r20888  
    9595         // Send a message 
    9696         CPPUNIT_ASSERT_NO_THROW_MESSAGE("Problem writing in acceptor", 
    97             sock->write(mMessageValue, mMessageLen, bytes_written)); 
     97            bytes_written = sock->write(mMessageValue, mMessageLen)); 
    9898         CPPUNIT_ASSERT((bytes_written == mMessageLen) && "Didn't send entire messag"); 
    9999      } 
     
    161161      { 
    162162         CPPUNIT_ASSERT_NO_THROW_MESSAGE("Read failed", 
    163             con_sock.readn(data, mMessageLen, bytes_read));   // Recieve data 
     163            bytes_read = con_sock.readn(data, mMessageLen));   // Recieve data 
    164164         CPPUNIT_ASSERT((bytes_read == mMessageLen) && "Connector recieved message of wrong size" ); 
    165165      }