Browse Source

edited for coding standard compliance

Alex 13 years ago
parent
commit
ed24d96dda
1 changed files with 7 additions and 4 deletions
  1. 7 4
      NetSSL_OpenSSL/src/HTTPSClientSession.cpp

+ 7 - 4
NetSSL_OpenSSL/src/HTTPSClientSession.cpp

@@ -191,10 +191,13 @@ void HTTPSClientSession::connect(const SocketAddress& address)
 }
 
 
-int HTTPSClientSession::read(char* buffer, std::streamsize length) {
-	try {
-		return HTTPClientSession::read(buffer, length);
-	} catch(SSLConnectionUnexpectedlyClosedException&) {
+int HTTPSClientSession::read(char* buffer, std::streamsize length)
+{
+	try
+	{
+		return HTTPSession::read(buffer, length);
+	} catch(SSLConnectionUnexpectedlyClosedException&)
+	{
 		return 0;
 	}
 }