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
(parent:
afcbfd1
)
Ticket 52. Definition of the tariff pointer added to the
ticket52
author
Elena Mamontova
<helenh463@gmail.com>
Mon, 12 Feb 2018 11:07:33 +0000
(13:07 +0200)
committer
Elena Mamontova
<helenh463@gmail.com>
Mon, 12 Feb 2018 11:07:33 +0000
(13:07 +0200)
USER_IMPL::Init() function.
projects/stargazer/user_impl.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/user_impl.cpp
b/projects/stargazer/user_impl.cpp
index d6c749b71c5c635f91c3631e8438e41cd06d72d6..d530108b95e7f225b42e32ce544662559aba6ac3 100644
(file)
--- a/
projects/stargazer/user_impl.cpp
+++ b/
projects/stargazer/user_impl.cpp
@@
-222,6
+222,7
@@
void USER_IMPL::Init()
{
password = "*_EMPTY_PASSWORD_*";
tariffName = NO_TARIFF_NAME;
+tariff = tariffs->FindByName(tariffName);
ips = StrToIPS("*");
lastWriteStat = stgTime + random() % settings->GetStatWritePeriod();
lastWriteDetailedStat = stgTime;