]> diplodocus.org Git - nmh/commit
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)
commitec7b66a6b21b391cf4ceaa0e38812c923f06cd94
tree840fb31842e45e2dac83f40ff7200e252da6b50d
parent99b1d450f2eaa879665c6b238b0252a9e2bb6118
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.
uip/mhlsbr.c
uip/sendsbr.c