Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2018-11-19 14:02:41 +00:00
8 changed files with 24 additions and 0 deletions

View File

@ -184,8 +184,14 @@ server_client_create(int fd)
TAILQ_INIT(&c->queue);
c->stdin_data = evbuffer_new();
if (c->stdin_data == NULL)
fatalx("out of memory");
c->stdout_data = evbuffer_new();
if (c->stdout_data == NULL)
fatalx("out of memory");
c->stderr_data = evbuffer_new();
if (c->stderr_data == NULL)
fatalx("out of memory");
c->tty.fd = -1;
c->title = NULL;