Skip to content

Commit 3493c89

Browse files
author
Erik Sohns
committed
integrated review change proposals
1 parent 5534ea9 commit 3493c89

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ACE/ace/SSL/SSL_SOCK_Stream.inl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ ACE_SSL_SOCK_Stream::recv_i (void *buf,
163163
bytes_read = -1;
164164
break;
165165
}
166-
int substat = ACE::handle_ready (handle,
167-
timeout,
168-
status == SSL_ERROR_WANT_READ,
169-
status == SSL_ERROR_WANT_WRITE,
170-
false);
166+
const int substat = ACE::handle_ready (handle,
167+
timeout,
168+
status == SSL_ERROR_WANT_READ,
169+
status == SSL_ERROR_WANT_WRITE,
170+
false);
171171
if (substat == 1) // Now ready to proceed
172172
{
173173
retry = true;
@@ -197,7 +197,7 @@ ACE_SSL_SOCK_Stream::recv_i (void *buf,
197197
case SSL_ERROR_SSL:
198198
if (ERR_GET_REASON (::ERR_peek_last_error ()) != SSL_R_UNEXPECTED_EOF_WHILE_READING)
199199
goto default_; // --> handle as default error
200-
ACE_FALLTHROUGH
200+
ACE_FALLTHROUGH;
201201

202202
#endif // OPENSSL_VERSION_NUMBER >= 0x30000000L || OPENSSL_VERSION_NUMBER == 0x1010105fL
203203
case SSL_ERROR_SYSCALL:

0 commit comments

Comments
 (0)