author | Florian Forster <octo@collectd.org> | |
Wed, 10 Sep 2014 14:54:26 +0000 (16:54 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 10 Sep 2014 14:54:26 +0000 (16:54 +0200) | ||
commit | 6d9b6a8844e6ba3c9bb941809f12d3964997c015 | |
tree | 793f83a830333fd055d05f29b81cca4945d53059 | tree | snapshot |
parent | f9cb7ef9c5b2d846146e5dd1cbc894b5139c47cc | commit | diff |
src/common.c: Fix strstripnewline().
Because the length of the string was decremented too late, the function
would actually overwrite the trailing null byte instead of the newline.
Because the length of the string was decremented too late, the function
would actually overwrite the trailing null byte instead of the newline.
src/common.c | diff | blob | history |