]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_property.cpp
Always think about \0 and block boundry during encryption.
[stg.git] / projects / stargazer / user_property.cpp
index feef2e598ab4ad39405036823601dd9b03d77a89..c8b589172a95a3380848770d3f6c78457d9ccbe3 100644 (file)
@@ -17,8 +17,8 @@ USER_PROPERTIES::USER_PROPERTIES(const std::string & sd)
       disabled    (conf.disabled,     "disabled",     false, false, GetStgLogger(), sd, properties),
       disabledDetailStat(conf.disabledDetailStat, "DisabledDetailStat", false, false, GetStgLogger(), sd, properties),
       alwaysOnline(conf.alwaysOnline, "alwaysOnline", false, false, GetStgLogger(), sd, properties),
-      tariffName  (conf.tariffName,   "tariff",       false, false, GetStgLogger(), sd, properties),
-      nextTariff  (conf.nextTariff,   "nextTariff",  false, false, GetStgLogger(), sd, properties),
+      tariffName  (conf.tariffName,   "tariffName",   false, false, GetStgLogger(), sd, properties),
+      nextTariff  (conf.nextTariff,   "nextTariff",   false, false, GetStgLogger(), sd, properties),
       address     (conf.address,      "address",      false, false, GetStgLogger(), sd, properties),
       note        (conf.note,         "note",         false, false, GetStgLogger(), sd, properties),
       group       (conf.group,        "group",        false, false, GetStgLogger(), sd, properties),