mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-13 23:38:52 +02:00
Use single stdout and stderr for control clients.
This commit is contained in:
@ -546,6 +546,10 @@ server_push_stderr(struct client *c)
|
||||
struct msg_stderr_data data;
|
||||
size_t size;
|
||||
|
||||
if (c->stderr_data == c->stdout_data) {
|
||||
server_push_stdout(c);
|
||||
return;
|
||||
}
|
||||
size = EVBUFFER_LENGTH(c->stderr_data);
|
||||
if (size == 0)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user