Comma will be more appropriate - updatestatus
This commit is contained in:
parent
c802081605
commit
06bdc70c73
|
@ -240,7 +240,7 @@ updatestatus()
|
||||||
continue;
|
continue;
|
||||||
skipdelimc:
|
skipdelimc:
|
||||||
/* checking for the first byte has been done */
|
/* 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++)
|
for (; *c != '\n' && *c != '\0'; c++, p++)
|
||||||
/* contents of the current block just changed */
|
/* contents of the current block just changed */
|
||||||
if (*c != *p) {
|
if (*c != *p) {
|
||||||
|
@ -282,12 +282,12 @@ update1:
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
skipdelimu:
|
skipdelimu:
|
||||||
c = current->cmdoutcur; p = current->cmdoutprv;
|
c = current->cmdoutcur, p = current->cmdoutprv;
|
||||||
update2:
|
update2:
|
||||||
do {
|
do {
|
||||||
*(s++) = *c;
|
*(s++) = *c;
|
||||||
*p = *c;
|
*p = *c;
|
||||||
c++; p++;
|
c++, p++;
|
||||||
} while (*c != '\n' && *c != '\0');
|
} while (*c != '\n' && *c != '\0');
|
||||||
if (current->pathc && current->signal)
|
if (current->pathc && current->signal)
|
||||||
*(s++) = current->signal;
|
*(s++) = current->signal;
|
||||||
|
|
Loading…
Reference in a new issue