summaryrefslogtreecommitdiff
path: root/ctype.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2016-08-13 11:05:42 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-13 19:45:24 -0700
commitecf30b237cb278040f18c597c1dbdbc49793094d (patch)
tree9b64ad559e899fd13d933b6e1856e38e8cccc863 /ctype.c
parentmailinfo: remove calls to exit() and die() deep in the callchain (diff)
downloadtgif-ecf30b237cb278040f18c597c1dbdbc49793094d.tar.xz
mailinfo: recycle strbuf in check_header()
handle_message_id() duplicates the contents of the strbuf that is passed to it. Its only caller proceeds to release the strbuf immediately after that. Reuse it instead and make that change of object ownership more obvious by inlining this short function. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ctype.c')
0 files changed, 0 insertions, 0 deletions