notmuch/util
Yuri Volchkov cec4a87539 database: move striping of trailing '/' into helper function
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>
2017-08-22 18:47:51 -03:00
..
error_util.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
error_util.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
gmime-extra.c util: make g_mime_utils_header_decode_date_unix match prototype 2017-07-17 08:47:18 -03:00
gmime-extra.h cli/crypto: eliminated compiler warnings about unused arguments 2017-07-15 21:42:49 -03:00
hex-escape.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
hex-escape.h hex-escape: (en|de)code strings to/from restricted character set 2012-12-02 09:14:59 -04:00
Makefile xutil.c: remove duplicate copies, create new library libutil.a to contain xutil. 2011-10-30 23:09:49 -03:00
Makefile.local util: convenience function to create gmime stream for stdout 2017-05-30 09:01:46 -03:00
string-util.c database: move striping of trailing '/' into helper function 2017-08-22 18:47:51 -03:00
string-util.h database: move striping of trailing '/' into helper function 2017-08-22 18:47:51 -03:00
talloc-extra.c util: add talloc-extra.[ch] 2012-12-30 21:12:11 -04:00
talloc-extra.h util: add talloc-extra.[ch] 2012-12-30 21:12:11 -04:00
util.c util: add gz_readline 2014-04-12 07:59:44 -03:00
util.h util: add gz_readline 2014-04-12 07:59:44 -03:00
xutil.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
xutil.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
zlib-extra.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
zlib-extra.h util: add gz_readline 2014-04-12 07:59:44 -03:00