summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 289a25c8..5c11a61d 100644
--- a/input.c
+++ b/input.c
@@ -961,7 +961,7 @@ input_reply(struct input_ctx *ictx, const char *fmt, ...)
char *reply;
va_start(ap, fmt);
- vasprintf(&reply, fmt, ap);
+ xvasprintf(&reply, fmt, ap);
va_end(ap);
bufferevent_write(ictx->wp->event, reply, strlen(reply));