We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93fb7f0 commit 8c613e8Copy full SHA for 8c613e8
src/AudioTools/Communication/RedisBuffer.h
@@ -295,13 +295,14 @@ class RedisBuffer : public BaseBuffer<T> {
295
int nl_pos = tail.indexOf("\r\n");
296
while (nl_pos >= 0) {
297
String head = tail.substring(0, nl_pos);
298
- result.strValues.push_back(head);
+ if (!head.startsWith("$"))
299
+ result.strValues.push_back(head);
300
tail = tail.substring(nl_pos + 2);
301
tail.trim();
302
nl_pos = tail.indexOf("\r\n");
303
}
304
- if (tail.length() > 0) {
305
+ if (!tail.startsWith("$") && tail.length() > 0) {
306
result.strValues.push_back(tail);
307
308
0 commit comments