summaryrefslogtreecommitdiff
path: root/server/src/queryparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/queryparser.cc')
-rw-r--r--server/src/queryparser.cc2
1 files changed, 1 insertions, 1 deletions
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)