diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 065cd2fcc9..99fc779a9e 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -2269,6 +2269,9 @@ static void readline_callback(void) last_t = t; + if (cli->fd == -1) + return; + again: FD_ZERO(&fds); FD_SET(cli->fd,&fds); |