fix comment

This commit is contained in:
Dave Conway-Jones 2020-06-15 15:31:44 +01:00
parent 24bd20ab21
commit a84658661d
No known key found for this signature in database
GPG Key ID: 302A6725C594817F
1 changed files with 1 additions and 1 deletions

View File

@ -380,8 +380,8 @@ module.exports = function(RED) {
for (var z=0; z<d.length; z++) {
var c = d[z];
if (c === waitfor) { active = true; }
// handle the trivial case first -- single char buffer
if (!active) { continue; }
// handle the trivial case first -- single char buffer
if ((newline === 0)||(newline === "")) {
emitData(new Buffer.from([c]));
continue;