Comma will be more appropriate - updatestatus

This commit is contained in:
Ashish Kumar Yadav 2020-09-20 14:57:46 +05:30
parent c802081605
commit 06bdc70c73

View file

@ -240,7 +240,7 @@ updatestatus()
continue;
skipdelimc:
/* checking for the first byte has been done */
c = current->cmdoutcur + 1; p = current->cmdoutprv + 1;
c = current->cmdoutcur + 1, p = current->cmdoutprv + 1;
for (; *c != '\n' && *c != '\0'; c++, p++)
/* contents of the current block just changed */
if (*c != *p) {
@ -282,12 +282,12 @@ update1:
continue;
}
skipdelimu:
c = current->cmdoutcur; p = current->cmdoutprv;
c = current->cmdoutcur, p = current->cmdoutprv;
update2:
do {
*(s++) = *c;
*p = *c;
c++; p++;
c++, p++;
} while (*c != '\n' && *c != '\0');
if (current->pathc && current->signal)
*(s++) = current->signal;