From f1bdc3086a6aa373c38a013591f27a2b9918c38d Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 14 Apr 2009 09:39:50 +0000 Subject: Fixed missing stack pop on result-tag end. --- server/src/queryparser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/src/queryparser.cc b/server/src/queryparser.cc index 287f71c..f8d4a09 100644 --- a/server/src/queryparser.cc +++ b/server/src/queryparser.cc @@ -66,7 +66,7 @@ void QueryParser::startTag(std::string name, std::map< std::string, std::string> void QueryParser::endTag(std::string name) { - if(name == "group") stack.pop_back(); + if(name == "group" || name == "result") stack.pop_back(); } void QueryParser::parseError(char *buf, size_t len, std::string error, int lineno) -- cgit v1.2.3