Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
692e3a1c
Commit
692e3a1c
authored
Jan 17, 2011
by
JINMEI Tatuya
Browse files
minor cleanup: removed unnecessary static for namescope level variables,
and removed an unused variable "PROGRAM"
parent
c9aa8392
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/auth/main.cc
View file @
692e3a1c
...
...
@@ -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
;
ConstElementPtr
my_config_handler
(
ConstElementPtr
new_config
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment