Skip to content

Commit

Permalink
fix file edit box missing data #5813
Browse files Browse the repository at this point in the history
Signed-off-by: si458 <simonsmith5521@gmail.com>
  • Loading branch information
si458 committed Aug 17, 2024
1 parent cee181f commit 7caf2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents/meshcore.js
Original file line number Diff line number Diff line change
Expand Up @@ -3337,7 +3337,7 @@ function onTunnelData(data)
if (cmd.sub == 'startack') { sendNextBlock = ((typeof cmd.ack == 'number') ? cmd.ack : 8); } else if (cmd.sub == 'stop') { delete this.filedownload; } else if (cmd.sub == 'ack') { sendNextBlock = 1; }
}
// Send the next download block(s)
while (sendNextBlock > 0) {
if (sendNextBlock > 0) {
sendNextBlock--;
var buf = Buffer.alloc(16384);
var len = fs.readSync(this.filedownload.f, buf, 4, 16380, null);
Expand Down

0 comments on commit 7caf2aa

Please sign in to comment.