Fix torcontrol.cpp unused private field warning

This commit is contained in:
Jonas Schnelli 2016-03-14 16:07:42 +01:00
parent 0735c0ca7c
commit 3d7e97376a
No known key found for this signature in database
GPG Key ID: 29D4BCB6416F53EC

View File

@ -393,8 +393,8 @@ private:
static void reconnect_cb(evutil_socket_t fd, short what, void *arg);
};
TorController::TorController(struct event_base* base, const std::string& target):
base(base),
TorController::TorController(struct event_base* baseIn, const std::string& target):
base(baseIn),
target(target), conn(base), reconnect(true), reconnect_ev(0),
reconnect_timeout(RECONNECT_TIMEOUT_START)
{