1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Updated macOS agent, more multiplexor work.

This commit is contained in:
Ylian Saint-Hilaire 2020-04-27 13:58:58 -07:00
parent 8d4380a67b
commit 3cc6d8d297
3 changed files with 179 additions and 59 deletions

View file

@ -180,11 +180,10 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
obj.ProcessData = function (str) {
var ptr = 0;
//console.log('x0', str.length);
while (ptr < str.length) {
//console.log('x1', ptr, str.length);
ptr += obj.ProcessDataEx(str.substring(ptr));
//console.log('x2', ptr, str.length);
var r = obj.ProcessDataEx(str.substring(ptr));
if ((r == null) || (r == 0)) break;
ptr += r;
}
}