summaryrefslogtreecommitdiff
path: root/net/SslSocket.hpp
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2017-03-30 10:15:28 +0100
committerMichael Meeks <michael.meeks@collabora.com>2017-03-30 23:44:48 +0100
commit0f5915b1a40d155770c66017161675cc013ec09c (patch)
treedec5f7a600a00fe159af6510b21a597fe2eef288 /net/SslSocket.hpp
parent8ece37e93bdbf902ef1efd6552dc4273bd0a61ac (diff)
Cleanup whitespace, return is not a function.
Diffstat (limited to 'net/SslSocket.hpp')
-rw-r--r--net/SslSocket.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/net/SslSocket.hpp b/net/SslSocket.hpp
index ec732c1ad..52292c588 100644
--- a/net/SslSocket.hpp
+++ b/net/SslSocket.hpp
@@ -81,9 +81,7 @@ public:
const int rc = doHandshake();
if (rc <= 0)
- {
- return (rc != 0);
- }
+ return rc != 0;
// Default implementation.
return StreamSocket::readIncomingData();
@@ -168,9 +166,7 @@ private:
{
rc = handleSslState(rc);
if (rc <= 0)
- {
- return (rc != 0);
- }
+ return rc != 0;
}
_doHandshake = false;