summaryrefslogtreecommitdiff
path: root/src/neighbor
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2016-06-17 19:06:30 +0200
committerMax Kellermann <max@duempel.org>2016-06-17 19:11:20 +0200
commitd3c7fac60619f5cddd6550a9caa0bea67d6557e0 (patch)
tree62ed96fb6606564759314899d2b3c37debb71ff3 /src/neighbor
parentfea3f6cc72089ca5736e74450bb5ff51581ec146 (diff)
thread/Thread: throw std::system_error on error
Diffstat (limited to 'src/neighbor')
-rw-r--r--src/neighbor/plugins/SmbclientNeighborPlugin.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
index d43d5eb64..ea0528d35 100644
--- a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
+++ b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
@@ -83,10 +83,11 @@ private:
};
bool
-SmbclientNeighborExplorer::Open(Error &error)
+SmbclientNeighborExplorer::Open(gcc_unused Error &error)
{
quit = false;
- return thread.Start(ThreadFunc, this, error);
+ thread.Start(ThreadFunc, this);
+ return true;
}
void