]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/chg_service.cpp
Ticket 12. The 'StopOnError' parameter added.
[stg.git] / stglibs / srvconf.lib / parsers / chg_service.cpp
index 7dac5ba9925eee29d3eb41d8a72171da684b2a82..6bea75653c9143da9ed90069fd44f86da5724061 100644 (file)
@@ -33,10 +33,10 @@ std::string CHG_SERVICE::Serialize(const SERVICE_CONF_RES & conf, const std::str
 {
 std::ostringstream stream;
 
 {
 std::ostringstream stream;
 
-appendResetable(stream, "name", conf.name);
-appendResetable(stream, "comment", MaybeEncode(conf.comment));
-appendResetable(stream, "cost", conf.cost);
-appendResetable(stream, "payDay", conf.payDay);
+appendResetableAttr(stream, "name", conf.name);
+appendResetableAttr(stream, "comment", MaybeEncode(conf.comment));
+appendResetableAttr(stream, "cost", conf.cost);
+appendResetableAttr(stream, "payDay", conf.payDay);
 
 return stream.str();
 }
 
 return stream.str();
 }