summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-11-23 15:31:29 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-11-23 15:31:29 +0100
commit87eed652dad7329cd42129a3fd29f9f7a3563c09 (patch)
tree495e9d85a50e86a80326cf135adcea21f8d17f95
parent98dd585c888f38631544743054ea3b2c30efd53b (diff)
downloaddabmux-87eed652dad7329cd42129a3fd29f9f7a3563c09.tar.gz
dabmux-87eed652dad7329cd42129a3fd29f9f7a3563c09.tar.bz2
dabmux-87eed652dad7329cd42129a3fd29f9f7a3563c09.zip
Fix parsing of RAW output params
-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;