git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
38adf74
)
В консольном авторизаторе в классе настроек добавлена инициализация
author
Maxim Mamontov
<faust@gts.dp.ua>
Wed, 8 Dec 2010 15:18:24 +0000
(17:18 +0200)
committer
Maxim Mamontov
<faust@gts.dp.ua>
Wed, 8 Dec 2010 15:18:24 +0000
(17:18 +0200)
членов класса через конструктор
projects/sgauth/main.cpp
patch
|
blob
|
history
diff --git
a/projects/sgauth/main.cpp
b/projects/sgauth/main.cpp
index b19ff6ed27eafe5c74f754085a44c2351d6b2fe7..c7b2bfdcaa49ff53f43a225f2e444f6d4cf56b52 100644
(file)
--- a/
projects/sgauth/main.cpp
+++ b/
projects/sgauth/main.cpp
@@
-105,6
+105,14
@@
private:
};
//-----------------------------------------------------------------------------
SETTINGS::SETTINGS()
+ : port(0),
+ localPort(0),
+ listenWebIP(0),
+ refreshPeriod(0),
+ daemon(false),
+ noWeb(false),
+ reconnect(false),
+ showPid(false)
{
confFile = "/etc/sgauth.conf";
}