From 556f00e4af55e78836c45f47b0662ab44bbb8b48 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 20 May 2008 14:03:10 +0000 Subject: Made fixes pointed out by GCC 4.2 and -D_FORTIFY_SOURCES=2 --- server/src/saxparser.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/src/saxparser.h') diff --git a/server/src/saxparser.h b/server/src/saxparser.h index 3cb7997..65f17fe 100644 --- a/server/src/saxparser.h +++ b/server/src/saxparser.h @@ -42,6 +42,8 @@ public: virtual void startTag(std::string name, std::map< std::string, std::string> attributes) {} virtual void endTag(std::string name) {} + virtual void parseError(char *buf, size_t len, std::string error, int lineno); + protected: virtual int readData(char *data, size_t size) { return 0; } -- cgit v1.2.3