]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/simple.cpp
Always think about \0 and block boundry during encryption.
[stg.git] / stglibs / srvconf.lib / parsers / simple.cpp
index 89537f2cc143adb11be1df18594811b49bacb749..4749c70f3a1ceaf812690ce4b49781172601d161 100644 (file)
 
 using namespace STG;
 
-SIMPLE::PARSER::PARSER(const std::string & t, CALLBACK f, void * d)
+SIMPLE::PARSER::PARSER(const std::string & t, CALLBACK f, void * d, const std::string & e)
     : tag(t),
       callback(f),
       data(d),
+      encoding(e),
       depth(0)
 {
 }