summaryrefslogtreecommitdiff
path: root/src/lib/encode_server_finder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/encode_server_finder.h')
-rw-r--r--src/lib/encode_server_finder.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/encode_server_finder.h b/src/lib/encode_server_finder.h
index efb498880..f8a30af54 100644
--- a/src/lib/encode_server_finder.h
+++ b/src/lib/encode_server_finder.h
@@ -67,7 +67,7 @@ private:
void listen_thread ();
void start_accept ();
- void handle_accept (boost::system::error_code ec, std::shared_ptr<Socket> socket);
+ void handle_accept (boost::system::error_code ec);
void config_changed (Config::Property what);
@@ -88,5 +88,7 @@ private:
boost::condition _search_condition;
boost::mutex _search_condition_mutex;
+ std::shared_ptr<Socket> _accept_socket;
+
static EncodeServerFinder* _instance;
};