]> git.cameronkatri.com Git - cgit.git/commit
Convert cgit_print_error to a variadic function
authorJohn Keeping <john@keeping.me.uk>
Sat, 6 Apr 2013 10:23:52 +0000 (11:23 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 8 Apr 2013 14:11:29 +0000 (16:11 +0200)
commited5bd30ebe6921dd22948a3f33a314283f043606
tree494f1ac8aae7c2147146fefc9aebcdb1bfa671c0
parentd2e20e38141c882e46eaa77f172fc2ae37a19d3b
Convert cgit_print_error to a variadic function

This removes many uses of "fmt" which uses a fixed size static pool of
fixed size buffers.  Instead of relying on these, we now pass around
argument lists for as long as possible before using a strbuf to render
content of an arbitrary size.

Signed-off-by: John Keeping <john@keeping.me.uk>
cgit.c
ui-blob.c
ui-commit.c
ui-diff.c
ui-patch.c
ui-shared.c
ui-shared.h
ui-snapshot.c
ui-stats.c
ui-tag.c
ui-tree.c