Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[AMQCPP-140] Code cleanup

  • Loading branch information...
commit 3f5f35f5afa11a88b7b53c18925627e5e6e0caa1 1 parent 42cc673
Nathan Christopher Mittler authored
Showing with 11 additions and 11 deletions.
  1. +11 −11 src/main/activemq/network/SSLSocket.cpp
View
22 src/main/activemq/network/SSLSocket.cpp
@@ -98,25 +98,25 @@ void SSLSocket::connect(const char* host, int port) throw ( SocketException )
switch (SSL_get_error (ssl, result))
{
case SSL_ERROR_NONE:
- // Apart from verification we are done.
- verifyPeerCertificate( host );
- return;
+ // Apart from verification we are done.
+ verifyPeerCertificate( host );
+ return;
case SSL_ERROR_SSL:
case SSL_ERROR_ZERO_RETURN:
- TcpSocket::close();
- throw SocketException( __FILE__, __LINE__,
- SSLError::getErrorString().c_str());
+ TcpSocket::close();
+ throw SocketException( __FILE__, __LINE__,
+ SSLError::getErrorString().c_str());
case SSL_ERROR_WANT_READ:
case SSL_ERROR_WANT_WRITE:
- // Repeat the operation.
- break;
+ // Repeat the operation.
+ break;
case SSL_ERROR_SYSCALL:
- TcpSocket::close();
- throw SocketException( __FILE__, __LINE__,
- SocketError::getErrorString().c_str() );
+ TcpSocket::close();
+ throw SocketException( __FILE__, __LINE__,
+ SocketError::getErrorString().c_str() );
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.