mirror of https://git.kore.io/kore.git
don't be dumb.
This commit is contained in:
parent
9340d132db
commit
c91fa9ab70
|
@ -506,7 +506,7 @@ kore_text_trim(char *string, size_t len)
|
|||
if (len == 0)
|
||||
return (string);
|
||||
|
||||
end = string + len - 1;
|
||||
end = string + len;
|
||||
while (isspace(*string))
|
||||
string++;
|
||||
|
||||
|
|
Loading…
Reference in New Issue