Null terminate statusstr in updatestatus
This commit is contained in:
parent
14859d2cd5
commit
9c5af35c14
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue