mirror of
https://github.com/tmux/tmux.git
synced 2025-01-14 20:58:53 +00:00
Couple of vasprintf -> xvasprintf.
This commit is contained in:
parent
acacb718e5
commit
bb5798aa0e
@ -80,7 +80,7 @@ cmdq_print(struct cmd_q *cmdq, const char *fmt, ...)
|
||||
/* nothing */;
|
||||
else if (c->session == NULL || (c->flags & CLIENT_CONTROL)) {
|
||||
if (~c->flags & CLIENT_UTF8) {
|
||||
vasprintf(&tmp, fmt, ap);
|
||||
xvasprintf(&tmp, fmt, ap);
|
||||
msg = utf8_sanitize(tmp);
|
||||
free(tmp);
|
||||
evbuffer_add(c->stdout_data, msg, strlen(msg));
|
||||
|
Loading…
Reference in New Issue
Block a user