diff options
author | Christian Couder <christian.couder@gmail.com> | 2017-11-05 22:38:34 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-07 09:54:41 +0900 |
commit | 4a9ef1bbc19f362a63c3e3ab88c651f97cbd1c1d (patch) | |
tree | 9dfc8ca6b2bab4c61f6e0ece7aaca66652a4112d /url.h | |
parent | t0021/rot13-filter: add packet_initialize() (diff) | |
download | tgif-4a9ef1bbc19f362a63c3e3ab88c651f97cbd1c1d.tar.xz |
t0021/rot13-filter: refactor checking final lf
As checking for a lf character at the end of a buffer
will be useful in another function, let's refactor this
functionality into a small remove_final_lf_or_die()
helper function.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'url.h')
0 files changed, 0 insertions, 0 deletions