diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2017-03-30 10:15:28 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2017-03-30 23:44:48 +0100 |
commit | 0f5915b1a40d155770c66017161675cc013ec09c (patch) | |
tree | dec5f7a600a00fe159af6510b21a597fe2eef288 /net/SslSocket.hpp | |
parent | 8ece37e93bdbf902ef1efd6552dc4273bd0a61ac (diff) |
Cleanup whitespace, return is not a function.
Diffstat (limited to 'net/SslSocket.hpp')
-rw-r--r-- | net/SslSocket.hpp | 8 |
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; |