mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-19 01:46:33 +02:00
Sync OpenBSD patchset 467:
tabs are better; ok nicm
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: server-client.c,v 1.8 2009-10-28 23:06:41 tcunha Exp $ */
|
||||
/* $Id: server-client.c,v 1.9 2009-10-28 23:12:38 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@@ -491,8 +491,8 @@ server_client_msg_dispatch(struct client *c)
|
||||
struct msg_environ_data environdata;
|
||||
ssize_t n, datalen;
|
||||
|
||||
if ((n = imsg_read(&c->ibuf)) == -1 || n == 0)
|
||||
return (-1);
|
||||
if ((n = imsg_read(&c->ibuf)) == -1 || n == 0)
|
||||
return (-1);
|
||||
|
||||
for (;;) {
|
||||
if ((n = imsg_get(&c->ibuf, &imsg)) == -1)
|
||||
|
Reference in New Issue
Block a user