Comma will be more appropriate - updatestatus

pull/11/head
Ashish Kumar Yadav 4 years ago
parent c802081605
commit 06bdc70c73

@ -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;

Loading…
Cancel
Save