mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
cec4a87539
Stripping trailing character is not that uncommon operation. Particularly, the next patch has to perform it as well. Lets move it to the separate function to avoid code duplication. Also the new function has a little improvement: if the character to strip is repeated several times in the end of a string, function strips them all. Signed-off-by: Yuri Volchkov <yuri.volchkov@gmail.com> |
||
---|---|---|
.. | ||
error_util.c | ||
error_util.h | ||
gmime-extra.c | ||
gmime-extra.h | ||
hex-escape.c | ||
hex-escape.h | ||
Makefile | ||
Makefile.local | ||
string-util.c | ||
string-util.h | ||
talloc-extra.c | ||
talloc-extra.h | ||
util.c | ||
util.h | ||
xutil.c | ||
xutil.h | ||
zlib-extra.c | ||
zlib-extra.h |