diff options
-rw-r--r-- | source3/client/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index f885106275..b498b5b4a8 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -2406,10 +2406,11 @@ static void readline_callback(void) last_t = t; + again: + if (cli->fd == -1) return; - again: FD_ZERO(&fds); FD_SET(cli->fd,&fds); |