Null terminate statusstr in updatestatus

This commit is contained in:
Ashish Kumar Yadav 2020-08-03 23:28:23 +05:30
parent 14859d2cd5
commit 9c5af35c14

View file

@ -274,6 +274,7 @@ update1:
if (current->pathc && current->signal) if (current->pathc && current->signal)
*(s++) = current->signal; *(s++) = current->signal;
} }
*s = '\0';
return 1; return 1;
} }