mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	fix file edit box missing data #5813
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
		
							parent
							
								
									cee181fb61
								
							
						
					
					
						commit
						7caf2aa05d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -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; }
 | 
					                            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)
 | 
					                        // Send the next download block(s)
 | 
				
			||||||
                        while (sendNextBlock > 0) {
 | 
					                        if (sendNextBlock > 0) {
 | 
				
			||||||
                            sendNextBlock--;
 | 
					                            sendNextBlock--;
 | 
				
			||||||
                            var buf = Buffer.alloc(16384);
 | 
					                            var buf = Buffer.alloc(16384);
 | 
				
			||||||
                            var len = fs.readSync(this.filedownload.f, buf, 4, 16380, null);
 | 
					                            var len = fs.readSync(this.filedownload.f, buf, 4, 16380, null);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue