builtin-mailinfo,builtin-mailsplit: use strbufs
commitc8f373a5ce8be2b85da25f1e3b1ef9056ecca4a6
authorBrandon Casey <drafnel@gmail.com>
Wed, 5 Aug 2009 03:31:57 +0000 (4 22:31 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Aug 2009 19:13:57 +0000 (5 12:13 -0700)
tree6c3a5e6895c633da8f4be875a785d64524cf04d5
parentc7e4f0d78aaac33d5e3cec54cddd40439e77d16c
builtin-mailinfo,builtin-mailsplit: use strbufs

There should be no functional change.  Just the necessary changes and
simplifications associated with calling strbuf_getwholeline() rather
than an internal function or fgets.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-mailinfo.c
builtin-mailsplit.c