Skip to content

Commit ed24d96

Browse files
committed
edited for coding standard compliance
1 parent c97c444 commit ed24d96

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

‎NetSSL_OpenSSL/src/HTTPSClientSession.cpp‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,13 @@ void HTTPSClientSession::connect(const SocketAddress& address)
191191
}
192192

193193

194-
int HTTPSClientSession::read(char* buffer, std::streamsize length) {
195-
try {
196-
return HTTPClientSession::read(buffer, length);
197-
} catch(SSLConnectionUnexpectedlyClosedException&) {
194+
int HTTPSClientSession::read(char* buffer, std::streamsize length)
195+
{
196+
try
197+
{
198+
return HTTPSession::read(buffer, length);
199+
} catch(SSLConnectionUnexpectedlyClosedException&)
200+
{
198201
return 0;
199202
}
200203
}

0 commit comments

Comments
 (0)