Fixed logging

This commit is contained in:
Thulinma 2018-05-29 16:08:26 +02:00
parent 1240f6bbaa
commit 72ce4fb852

View file

@ -287,19 +287,19 @@ namespace Util{
++i; ++i;
progname = buf+i;//progname starts here progname = buf+i;//progname starts here
} }
while (i < 30 && buf[i] != '|' && buf[i] != 0){++i;} while (i < 40 && buf[i] != '|' && buf[i] != 0){++i;}
if (buf[i] == '|'){ if (buf[i] == '|'){
buf[i] = 0;//insert null byte buf[i] = 0;//insert null byte
++i; ++i;
progpid = buf+i;//progpid starts here progpid = buf+i;//progpid starts here
} }
while (i < 40 && buf[i] != '|' && buf[i] != 0){++i;} while (i < 60 && buf[i] != '|' && buf[i] != 0){++i;}
if (buf[i] == '|'){ if (buf[i] == '|'){
buf[i] = 0;//insert null byte buf[i] = 0;//insert null byte
++i; ++i;
lineno = buf+i;//lineno starts here lineno = buf+i;//lineno starts here
} }
while (i < 80 && buf[i] != '|' && buf[i] != 0){++i;} while (i < 180 && buf[i] != '|' && buf[i] != 0){++i;}
if (buf[i] == '|'){ if (buf[i] == '|'){
buf[i] = 0;//insert null byte buf[i] = 0;//insert null byte
++i; ++i;