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
Diffstat (limited to '')
-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);
 }
 
an title='2020-07-14 15:29:09 +0000'>2020-07-14Add CGI upload program for temp.causal.agencyJune McEnroe 2020-07-10Add The Broken KingdomsJune McEnroe 2020-07-08Add facebook and twitter to title user-agentJune McEnroe This fixes fetching tweets again! https://github.com/thelounge/thelounge/pull/ 3602 (Intentionally breaking the link so GitHub doesn't add a "referenced this PR" thing?) 2020-06-30Tweak causal.agency for mostly no reasonJune McEnroe 2020-06-30Add Ancillary JusticeJune McEnroe 2020-06-26Add password non-manager to planJune McEnroe I've had this idea for years... 2020-06-26Tweak TF2 sensitivities once moreJune McEnroe 2020-06-19Add note about litterbox bot useJune McEnroe 2020-06-19Publish "IRC suite"June McEnroe 2020-06-17Add errors to link.shJune McEnroe