summary refs log tree commit diff
path: root/server.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-23 00:20:53 -0400
committerJune McEnroe <june@causal.agency>2019-10-23 00:20:53 -0400
commitd1fdbe3556b29c46dce045afe1fa5d906626d1bf (patch)
treef0c32e936abce4083bd253ffc85f9d7307d17523 /server.c
parentAdd state (diff)
downloadpounce-d1fdbe3556b29c46dce045afe1fa5d906626d1bf.tar.gz
pounce-d1fdbe3556b29c46dce045afe1fa5d906626d1bf.zip
Actually send the buffer...
Diffstat (limited to '')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 628ced7..f294555 100644
--- a/server.c
+++ b/server.c
@@ -92,7 +92,7 @@ static void format(const char *format, ...) {
 	int len = vasprintf(&buf, format, ap);
 	va_end(ap);
 	if (!buf) err(EX_OSERR, "vasprintf");
-	serverSend(format, len);
+	serverSend(buf, len);
 	free(buf);
 }