mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Fixed utf8 in meshcore.
This commit is contained in:
		
							parent
							
								
									924d62c940
								
							
						
					
					
						commit
						cd85c66a1d
					
				
					 3 changed files with 10 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -224,7 +224,7 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
 | 
			
		|||
                                    if (obj.authenticated == 2) {
 | 
			
		||||
                                        // Send the updated core.
 | 
			
		||||
                                        delete obj.agentCoreUpdatePending;
 | 
			
		||||
                                        obj.sendBinary(common.ShortToStr(10) + common.ShortToStr(0) + argument.hash + argument.core, function () { parent.parent.taskLimiter.completed(taskid); }); // MeshCommand_CoreModule, start core update
 | 
			
		||||
                                        obj.sendBinary(common.ShortToStr(10) + common.ShortToStr(0) + argument.hash + argument.core.toString('binary'), function () { parent.parent.taskLimiter.completed(taskid); }); // MeshCommand_CoreModule, start core update
 | 
			
		||||
                                        parent.agentStats.updatingCoreCount++;
 | 
			
		||||
                                        parent.parent.debug('agent', "Updating core " + argument.name);
 | 
			
		||||
                                    } else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue