mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-06 01:08:25 +01:00
Fixed wrong bracket placement (see #3011)
This commit is contained in:
parent
6a22efef7c
commit
35fc66c23d
@ -268,8 +268,9 @@ int Stream::findMulti( struct Stream::MultiTarget *targets, int tCount) {
|
|||||||
if (c == t->str[t->index]) {
|
if (c == t->str[t->index]) {
|
||||||
if (++t->index == t->len)
|
if (++t->index == t->len)
|
||||||
return t - targets;
|
return t - targets;
|
||||||
} else
|
else
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// if not we need to walk back and see if we could have matched further
|
// if not we need to walk back and see if we could have matched further
|
||||||
// down the stream (ie '1112' doesn't match the first position in '11112'
|
// down the stream (ie '1112' doesn't match the first position in '11112'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user