From: Ralph Corderoy Date: Wed, 24 Jan 2018 00:12:59 +0000 (+0000) Subject: Use trim_suffix_c() to remove optional trailing character. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/ec7b66a6b21b391cf4ceaa0e38812c923f06cd94?hp=ec7b66a6b21b391cf4ceaa0e38812c923f06cd94 Use trim_suffix_c() to remove optional trailing character. 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. ---