git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed traff type descritpion.
[stg.git]
/
stglibs
/
srvconf.lib
/
parsers
/
chg_user.h
diff --git
a/stglibs/srvconf.lib/parsers/chg_user.h
b/stglibs/srvconf.lib/parsers/chg_user.h
index 9f8e6b031bdca9b7539d74d301f2b9e498ee5262..075dcd2861e8f76bcc1226e9f6610fb59aead958 100644
(file)
--- a/
stglibs/srvconf.lib/parsers/chg_user.h
+++ b/
stglibs/srvconf.lib/parsers/chg_user.h
@@
-40,6
+40,7
@@
public:
PARSER(SIMPLE::CALLBACK f, void * data);
int ParseStart(const char * el, const char ** attr);
void ParseEnd(const char * el);
+ void Failure(const std::string & reason) { callback(false, reason, data); }
private:
SIMPLE::CALLBACK callback;