diff options
author | Benoit Foucher <benoit@zeroc.com> | 2009-11-23 13:28:08 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2009-11-23 13:28:08 +0100 |
commit | 2c578015edcb36cdc0acd0227295de1dcca1b995 (patch) | |
tree | e163980b5dabb43a40089a29fdf8ff47a3e07f1c /cpp/src/IceSSL/TransceiverI.cpp | |
parent | no longer generating inspect method for each Ruby exception (diff) | |
download | ice-2c578015edcb36cdc0acd0227295de1dcca1b995.tar.bz2 ice-2c578015edcb36cdc0acd0227295de1dcca1b995.tar.xz ice-2c578015edcb36cdc0acd0227295de1dcca1b995.zip |
New AMI mapping
Diffstat (limited to 'cpp/src/IceSSL/TransceiverI.cpp')
-rw-r--r-- | cpp/src/IceSSL/TransceiverI.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/IceSSL/TransceiverI.cpp b/cpp/src/IceSSL/TransceiverI.cpp index 38406abf16d..985bbcef29b 100644 --- a/cpp/src/IceSSL/TransceiverI.cpp +++ b/cpp/src/IceSSL/TransceiverI.cpp @@ -612,14 +612,14 @@ IceSSL::TransceiverI::read(IceInternal::Buffer& buf) } #ifdef ICE_USE_IOCP -void +bool IceSSL::TransceiverI::startWrite(IceInternal::Buffer& buf) { if(_state < StateConnected) { IceInternal::doConnectAsync(_fd, _connectAddr, _write); _desc = IceInternal::fdToString(_fd); - return; + return false; } assert(!_writeBuffer.empty() && _writeI != _writeBuffer.end()); @@ -651,6 +651,7 @@ IceSSL::TransceiverI::startWrite(IceInternal::Buffer& buf) } } } + return packetSize == static_cast<int>(_writeBuffer.end() - _writeI); } void |