summaryrefslogtreecommitdiffstats
path: root/server-client.c
diff options
context:
space:
mode:
authornicm <nicm>2020-06-02 08:17:27 +0000
committernicm <nicm>2020-06-02 08:17:27 +0000
commitf3931497f8aee291bce132fb106cedb55c5b3fa9 (patch)
tree2acdacdac20714ab521508b93e362e35478ea06a /server-client.c
parent563b7331da2d31aca470389817c282a46da7c872 (diff)
Use CLOCK_MONOTONIC for timer measurement and add a timestamp to control
mode %output blocks.
Diffstat (limited to 'server-client.c')
-rw-r--r--server-client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/server-client.c b/server-client.c
index 81af2f07..e3383aab 100644
--- a/server-client.c
+++ b/server-client.c
@@ -1779,7 +1779,9 @@ server_client_check_exit(struct client *c)
struct client_file *cf;
const char *name = c->exit_session;
- if ((c->flags & CLIENT_EXITED) || (~c->flags & CLIENT_EXIT))
+ if (c->flags & (CLIENT_DEAD|CLIENT_EXITED))
+ return;
+ if (~c->flags & CLIENT_EXIT)
return;
if (c->flags & CLIENT_CONTROL) {