Browse Source

Make some global variables less-global (static)

0.15
Pavel Janík 8 years ago
parent
commit
c4b60b3d9c
  1. 4
      src/torcontrol.cpp

4
src/torcontrol.cpp

@ -662,8 +662,8 @@ void TorController::reconnect_cb(evutil_socket_t fd, short what, void *arg) @@ -662,8 +662,8 @@ void TorController::reconnect_cb(evutil_socket_t fd, short what, void *arg)
}
/****** Thread ********/
struct event_base *gBase;
boost::thread torControlThread;
static struct event_base *gBase;
static boost::thread torControlThread;
static void TorControlThread()
{

Loading…
Cancel
Save