lib/proxy: send default output to stderr

This commit is contained in:
Philippe Gerum 2020-02-14 19:27:13 +01:00
parent 278f8d308f
commit 4639cf94a5
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ ssize_t evl_vprint_proxy(int proxyfd, const char *fmt, va_list ap)
*/
if (proxyfd < 0) {
if (evl_is_inband()) {
ret = vprintf(fmt, ap);
ret = write(2, fmt_buf, count);
if (ret < 0)
ret = -errno;
} else {