Diff options
authorJohn Keeping <john@keeping.me.uk>
committerJason A. Donenfeld <Jason@zx2c4.com>
commit
parent
tree
download
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>
-rw-r--r--cgit.c18
-rw-r--r--ui-blob.c8
-rw-r--r--ui-commit.c4
-rw-r--r--ui-diff.c8
-rw-r--r--ui-patch.c4
-rw-r--r--ui-shared.c15
-rw-r--r--ui-shared.h5
-rw-r--r--ui-snapshot.c16
-rw-r--r--ui-stats.c5
-rw-r--r--ui-tag.c6
-rw-r--r--ui-tree.c13
11 files changed, 57 insertions, 45 deletions