summaryrefslogtreecommitdiff
path: root/server/src/templateheaderparser.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/templateheaderparser.cc
parent90fe99277f0300eb7f0b80545d6a21f94198d45f (diff)
Added SessionIDs to http communication. Made SAXParser run on const char*.
Diffstat (limited to 'server/src/templateheaderparser.cc')
-rw-r--r--server/src/templateheaderparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/templateheaderparser.cc b/server/src/templateheaderparser.cc
index 0a68a6a..848b05c 100644
--- a/server/src/templateheaderparser.cc
+++ b/server/src/templateheaderparser.cc
@@ -121,7 +121,7 @@ int TemplateHeaderParser::readData(char *data, size_t size)
return r;
}
-void TemplateHeaderParser::parseError(char *buf, size_t len, std::string error, int lineno)
+void TemplateHeaderParser::parseError(const char *buf, size_t len, std::string error, int lineno)
{
if(t) return; // Ignore "unclosed token" errors when the template tag has been parsed.