Code

utils error, strbuf: Added sdb_error_chomp(), sdb_strbuf_chomp().
authorSebastian Harl <sh@tokkee.org>
Wed, 20 Mar 2013 07:02:54 +0000 (00:02 -0700)
committerSebastian Harl <sh@tokkee.org>
Wed, 20 Mar 2013 07:02:54 +0000 (00:02 -0700)
commit50d3819344ff132e043ba95da7915092d03baf6a
tree45b68127d44a19a84c51befd8bb52ae72be2dc4d
parentbe63d81ac212b97d79b478634dc86c141992cef8
utils error, strbuf: Added sdb_error_chomp(), sdb_strbuf_chomp().

These functions may be used to remove all consecutive newline characters from
the end of the respective strings.
src/include/utils/error.h
src/include/utils/strbuf.h
src/utils/error.c
src/utils/strbuf.c