diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-04-16 07:16:40 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-04-16 07:16:40 +0000 |
commit | 63602c137ac844339dcf34f258711de9930c4014 (patch) | |
tree | 4d88056968b93664a5e53a2342873c0d330fba5c /ace/SSL/SSL_Asynch_Stream.cpp | |
parent | d90f756b2f3f515fed3ec9990723cd10dbce8ece (diff) | |
download | ATCD-63602c137ac844339dcf34f258711de9930c4014.tar.gz |
ChangeLogTag:Wed Apr 16 00:10:37 2003 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/SSL/SSL_Asynch_Stream.cpp')
-rw-r--r-- | ace/SSL/SSL_Asynch_Stream.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ace/SSL/SSL_Asynch_Stream.cpp b/ace/SSL/SSL_Asynch_Stream.cpp index 160b86a466b..8978452dc7c 100644 --- a/ace/SSL/SSL_Asynch_Stream.cpp +++ b/ace/SSL/SSL_Asynch_Stream.cpp @@ -638,9 +638,9 @@ ACE_SSL_Asynch_Stream::do_SSL_read (void) ACE_Message_Block & mb = this->ext_read_result_->message_block (); size_t bytes_req = this->ext_read_result_->bytes_to_read (); - int bytes_trn = ::SSL_read (this->ssl_, - mb.rd_ptr (), - bytes_req); + const int bytes_trn = ::SSL_read (this->ssl_, + mb.wr_ptr (), + bytes_req); int status = ::SSL_get_error (this->ssl_, bytes_trn); @@ -695,9 +695,9 @@ ACE_SSL_Asynch_Stream::do_SSL_write (void) ACE_Message_Block & mb = this->ext_write_result_->message_block (); size_t bytes_req = this->ext_write_result_->bytes_to_write (); - int bytes_trn = ::SSL_write (this->ssl_, - mb.rd_ptr (), - bytes_req); + const int bytes_trn = ::SSL_write (this->ssl_, + mb.rd_ptr (), + bytes_req); int status = ::SSL_get_error (this->ssl_, bytes_trn); |