diff options
Diffstat (limited to 'cpp/src/IceSSL/UWPTransceiverI.cpp')
-rw-r--r-- | cpp/src/IceSSL/UWPTransceiverI.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/IceSSL/UWPTransceiverI.cpp b/cpp/src/IceSSL/UWPTransceiverI.cpp index 2afd9ad0e59..e357f284cc3 100644 --- a/cpp/src/IceSSL/UWPTransceiverI.cpp +++ b/cpp/src/IceSSL/UWPTransceiverI.cpp @@ -289,7 +289,7 @@ UWP::TransceiverI::finishWrite(IceInternal::Buffer& buf) if(_connected && !_upgraded) { IceInternal::AsyncInfo* asyncInfo = getNativeInfo()->getAsyncInfo(IceInternal::SocketOperationWrite); - if(asyncInfo->count == SOCKET_ERROR) + if(asyncInfo->error != ERROR_SUCCESS) { if(CERT_E_CN_NO_MATCH == asyncInfo->error) { @@ -368,9 +368,9 @@ UWP::TransceiverI::setBufferSize(int rcvSize, int sndSize) } UWP::TransceiverI::TransceiverI(const InstancePtr& instance, - const IceInternal::TransceiverPtr& delegate, - const string& hostOrAdapterName, - bool incoming) : + const IceInternal::TransceiverPtr& delegate, + const string& hostOrAdapterName, + bool incoming) : _instance(instance), _engine(UWP::SSLEnginePtr::dynamicCast(instance->engine())), _host(incoming ? "" : hostOrAdapterName), |