Browse Source
Make some global variables less-global (static)
pull/4/head
Pavel Janík
7 years ago
committed by
Jack Grigg
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
1 changed files with
2 additions and
2 deletions
-
src/torcontrol.cpp
|
|
@ -657,8 +657,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() |
|
|
|
{ |
|
|
|