From d7c7c961e8c35c2d8587ec7f60aac5e309284a97 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 13 Nov 2009 11:00:08 +0000 Subject: Added SessionIDs to http communication. Made SAXParser run on const char*. --- server/src/saxparser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src/saxparser.h') diff --git a/server/src/saxparser.h b/server/src/saxparser.h index 9f2faa2..265727f 100644 --- a/server/src/saxparser.h +++ b/server/src/saxparser.h @@ -95,7 +95,7 @@ public: * @param error A std::string containing the error message. * @param lineno An integer containing the line number on which the error occurred. */ - virtual void parseError(char *buf, size_t len, std::string error, int lineno); + virtual void parseError(const char *buf, size_t len, std::string error, int lineno); /** * Buffer parse method. @@ -107,7 +107,7 @@ public: * false otherwise. * @see bool parse(char *buf, size_t size) */ - bool parse(char *buf, size_t size); + bool parse(const char *buf, size_t size); /** * Get the number of bytes used from the last buffer. -- cgit v1.2.3