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
/
server_info.h
diff --git
a/stglibs/srvconf.lib/parsers/server_info.h
b/stglibs/srvconf.lib/parsers/server_info.h
index 7f5b8e9b978e6b9584630f41e90541ad48ed3ed9..1865db7f5dd127d2ddb5430f7acbeebf9e9f0349 100644
(file)
--- a/
stglibs/srvconf.lib/parsers/server_info.h
+++ b/
stglibs/srvconf.lib/parsers/server_info.h
@@
-40,6
+40,7
@@
public:
PARSER(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, info, data); }
private:
PROPERTY_PARSERS propertyParsers;