about summary refs log tree commit diff
path: root/server.c
diff options
context:
space:
mode:
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);
 }