summaryrefslogtreecommitdiffstats
path: root/src/dabOutput/dabOutputRaw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dabOutput/dabOutputRaw.cpp')
-rw-r--r--src/dabOutput/dabOutputRaw.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dabOutput/dabOutputRaw.cpp b/src/dabOutput/dabOutputRaw.cpp
index 4e57835..d7c191c 100644
--- a/src/dabOutput/dabOutputRaw.cpp
+++ b/src/dabOutput/dabOutputRaw.cpp
@@ -109,8 +109,7 @@ static std::map<std::string, std::string> tokeniseURIParam(const std::string& ur
const size_t ix_val = ix_eq + 1;
const std::string key = uri.substr(ix_key, ix_eq - ix_key);
-
- ix = uri.find('&', ix);
+ ix = uri.find('&', ix_eq);
const size_t len_value =
(ix == std::string::npos) ? std::string::npos : ix - ix_val;