summaryrefslogtreecommitdiff
path: root/server/src/macroparser.cc
diff options
context:
space:
mode:
authordeva <deva>2009-11-13 11:00:08 +0000
committerdeva <deva>2009-11-13 11:00:08 +0000
commitd7c7c961e8c35c2d8587ec7f60aac5e309284a97 (patch)
tree3f1b4fb382a7ece23c944eeeca2e8eb61f1d25aa /server/src/macroparser.cc
parent90fe99277f0300eb7f0b80545d6a21f94198d45f (diff)
Added SessionIDs to http communication. Made SAXParser run on const char*.
Diffstat (limited to 'server/src/macroparser.cc')
-rw-r--r--server/src/macroparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/macroparser.cc b/server/src/macroparser.cc
index 0b0257e..863c52e 100644
--- a/server/src/macroparser.cc
+++ b/server/src/macroparser.cc
@@ -304,7 +304,7 @@ int MacroParser::readData(char *data, size_t size)
return r;
}
-void MacroParser::parseError(char *buf, size_t len, std::string error, int lineno)
+void MacroParser::parseError(const char *buf, size_t len, std::string error, int lineno)
{
PRACRO_ERR_LOG(macro, "MacroParser[%s] error at line %d: %s\n", file.c_str(), lineno, error.c_str());
PRACRO_ERR_LOG(macro, "\tBuffer %u bytes: [", len);