]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/auth_by.cpp
Handle callback errors in bfstreams.
[stg.git] / stglibs / srvconf.lib / parsers / auth_by.cpp
index 61f590bfcc927d3deb62534ee5908161753b17bd..143eee261dae838b82740716eead98999ffa5c0f 100644 (file)
 
 using namespace STG;
 
-AUTH_BY::PARSER::PARSER(CALLBACK f, void * d)
+AUTH_BY::PARSER::PARSER(CALLBACK f, void * d, const std::string & e)
     : callback(f),
       data(d),
+      encoding(e),
       depth(0),
       parsingAnswer(false)
 {