summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-08 15:06:41 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-08 15:06:41 +0200
commit2b3b0ce142c16d50462e644821983c525874f10e (patch)
tree66cecc1daa78df4a2548f6e1345b17250101cec2 /src
parenta7a0f69c6bf32b63c3314a097929c533296b1c86 (diff)
Change return type of ListenSocket::ResetIOHookProvider() to void
No code was using the return value
Diffstat (limited to 'src')
-rw-r--r--src/listensocket.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/listensocket.cpp b/src/listensocket.cpp
index fa43e6827..f560ad277 100644
--- a/src/listensocket.cpp
+++ b/src/listensocket.cpp
@@ -178,7 +178,7 @@ void ListenSocket::OnEventHandlerRead()
}
}
-bool ListenSocket::ResetIOHookProvider()
+void ListenSocket::ResetIOHookProvider()
{
std::string provname = bind_tag->getString("ssl");
if (!provname.empty())
@@ -186,7 +186,4 @@ bool ListenSocket::ResetIOHookProvider()
// Set the new provider name, dynref handles the rest
iohookprov.SetProvider(provname);
-
- // Return true if no provider was set, or one was set and it was also found
- return (provname.empty() || iohookprov);
}