diff options
author | deva <deva> | 2009-11-13 11:00:08 +0000 |
---|---|---|
committer | deva <deva> | 2009-11-13 11:00:08 +0000 |
commit | d7c7c961e8c35c2d8587ec7f60aac5e309284a97 (patch) | |
tree | 3f1b4fb382a7ece23c944eeeca2e8eb61f1d25aa /server/src/templateparser.cc | |
parent | 90fe99277f0300eb7f0b80545d6a21f94198d45f (diff) |
Added SessionIDs to http communication. Made SAXParser run on const char*.
Diffstat (limited to 'server/src/templateparser.cc')
-rw-r--r-- | server/src/templateparser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/templateparser.cc b/server/src/templateparser.cc index 277a8bd..e6a0f2e 100644 --- a/server/src/templateparser.cc +++ b/server/src/templateparser.cc @@ -137,7 +137,7 @@ int TemplateParser::readData(char *data, size_t size) return r; } -void TemplateParser::parseError(char *buf, size_t len, std::string error, int lineno) +void TemplateParser::parseError(const char *buf, size_t len, std::string error, int lineno) { fprintf(stderr, "TemplateParser[%s] error at line %d: %s\n", file.c_str(), lineno, error.c_str()); fprintf(stderr, "\tBuffer %u bytes: [", len); |