Made checking for char explicit

pull/11/head
Ashish Kumar Yadav 4 years ago
parent 5ea7cd7059
commit 7450d0c537

@ -274,7 +274,7 @@ update1:
/* handles delimiter */
if (*current->cmdoutcur != '\n' && *current->cmdoutcur != '\0') {
d = delim;
while (*d)
while (*d != '\0')
*(s++) = *(d++);
*(s++) = '\n'; /* to mark the end of delimiter */
} else {

Loading…
Cancel
Save