]> diplodocus.org Git - nmh/commitdiff
Use trim_suffix_c() to remove optional trailing character.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 24 Jan 2018 00:12:59 +0000 (00:12 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Thu, 25 Jan 2018 14:44:44 +0000 (14:44 +0000)
I'm unsure if one of the cases can know the string's length is long
enough to read the char before the NUL.  Using trim_suffix_c()
simplifies and removes the possibility.


No differences found