]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/chg_tariff.cpp
Ticket 12. The 'StopOnError' parameter added.
[stg.git] / stglibs / srvconf.lib / parsers / chg_tariff.cpp
index 8a1c56a414db3a444cb9596a0c046e1863561f5e..158e6f890642af0a744525691ea825774e429901 100644 (file)
@@ -55,9 +55,9 @@ std::string CHG_TARIFF::Serialize(const TARIFF_DATA_RES & data, const std::strin
 {
 std::ostringstream stream;
 
 {
 std::ostringstream stream;
 
-appendResetable(stream, "fee", data.tariffConf.fee);
-appendResetable(stream, "passiveCost", data.tariffConf.passiveCost);
-appendResetable(stream, "free", data.tariffConf.free);
+appendResetableTag(stream, "fee", data.tariffConf.fee);
+appendResetableTag(stream, "passiveCost", data.tariffConf.passiveCost);
+appendResetableTag(stream, "free", data.tariffConf.free);
 
 if (!data.tariffConf.traffType.empty())
     stream << "<traffType value=\"" + TARIFF::TraffTypeToString(data.tariffConf.traffType.data()) + "\"/>";
 
 if (!data.tariffConf.traffType.empty())
     stream << "<traffType value=\"" + TARIFF::TraffTypeToString(data.tariffConf.traffType.data()) + "\"/>";