Commit 692e3a1c authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

minor cleanup: removed unnecessary static for namescope level variables,

and removed an unused variable "PROGRAM"
parent c9aa8392
......@@ -57,11 +57,10 @@ using namespace asiolink;
namespace {
static bool verbose_mode = false;
bool verbose_mode = false;
// Default port current 5300 for testing purposes
static const string PROGRAM = "Auth";
static const char* DNSPORT = "5300";
const char* DNSPORT = "5300";
// Note: this value must be greater than 0.
// TODO: make it configurable via command channel.
......@@ -70,9 +69,9 @@ const uint32_t STATISTICS_SEND_INTERVAL_SEC = 60;
/* need global var for config/command handlers.
* todo: turn this around, and put handlers in the authserver
* class itself? */
static AuthSrv *auth_server;
AuthSrv *auth_server;
static IOService io_service;
IOService io_service;
my_config_handler(ConstElementPtr new_config) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment