aboutsummaryrefslogtreecommitdiff
path: root/src/clients/inquisitio/key_extractor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/inquisitio/key_extractor.cc')
-rw-r--r--src/clients/inquisitio/key_extractor.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/clients/inquisitio/key_extractor.cc b/src/clients/inquisitio/key_extractor.cc
index c85019363..04e56f12c 100644
--- a/src/clients/inquisitio/key_extractor.cc
+++ b/src/clients/inquisitio/key_extractor.cc
@@ -183,7 +183,10 @@ namespace
std::string stringify_string_pair(const std::pair<const std::string, std::string> & s)
{
- return s.first + "=" + s.second;
+ if (s.first.empty())
+ return s.second;
+ else
+ return s.first + "=" + s.second;
}
class KeyVisitor