summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-31 18:54:37 -0400
committerJune McEnroe <june@causal.agency>2020-03-31 18:54:37 -0400
commit5e3578a00f651d9ed04f6b9beda305408d6c09ce (patch)
treec5bfce5f19650285f235f5402ebacf814cb1bf46
parentInclude <>/-/* around nicks in scoop coloring (diff)
downloadlitterbox-5e3578a00f651d9ed04f6b9beda305408d6c09ce.tar.gz
litterbox-5e3578a00f651d9ed04f6b9beda305408d6c09ce.zip
Fix writing verbose to stderr
-rw-r--r--litterbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/litterbox.c b/litterbox.c
index b8bc25d..1591b39 100644
--- a/litterbox.c
+++ b/litterbox.c
@@ -54,7 +54,7 @@ static void format(const char *format, ...) {
 	int len = vsnprintf(buf, sizeof(buf), format, ap);
 	va_end(ap);
 	assert((size_t)len < sizeof(buf));
-	if (verbose) printf("%s", buf);
+	if (verbose) fprintf(stderr, "%s", buf);
 	clientWrite(buf, len);
 }
 
5-08-13 15:39:06 +0200'>2015-08-13filter: don't use dlsym unnecessarilyJohn Keeping 2015-08-13ui-tree: use "sane" isgraph()John Keeping 2015-08-13cgit.h: move stdbool.h from ui-shared.hJohn Keeping 2015-08-13cache.c: fix header orderJohn Keeping 2015-08-13configfile.c: don't include system headers directlyJohn Keeping 2015-08-13Remove redundant includesJohn Keeping 2015-08-13Makefile: include Git's config.mak.unameJohn Keeping 2015-08-13tests: allow shell to be overriddenJohn Keeping 2015-08-13redirect: cleanlinessJason A. Donenfeld 2015-08-13redirect: be more careful for different cgi setupsJason A. Donenfeld 2015-08-12ui-log: fix double countingJohn Keeping 2015-08-12log: allow users to follow a fileJohn Keeping 2015-08-12shared: make cgit_diff_tree_cb publicJohn Keeping 2015-08-12t0110: Chain together using &&Jason A. Donenfeld 2015-08-12about: always ensure page has a trailing slashJason A. Donenfeld 2015-08-12filters: apply HTML escapingLazaros Koromilas 2015-08-12git: update to v2.5.0Christian Hesse 2015-08-12Fix processing of repo.hide and repo.ignoreDaniel Reichelt