From 6ebbf072683ac7ea09a0aaafa0bb12fc0678d068 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 20 Dec 2008 17:06:11 +0000 Subject: [PATCH] server: Zap spurious space output by a_vformat. --- server/admin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/admin.c b/server/admin.c index 5509de07..4e87e48c 100644 --- a/server/admin.c +++ b/server/admin.c @@ -265,7 +265,7 @@ void a_vformat(dstr *d, const char *fmt, va_list ap) while (fmt) { if (*fmt == '*') { - dstr_putc(d, ' '); + if (d->len) dstr_putc(d, ' '); dstr_vputf(d, fmt + 1, &ap); } else if (*fmt == '?') { if (strcmp(fmt, "?ADDR") == 0) { -- 2.11.0