diff options
Diffstat (limited to 'p11-kit')
-rw-r--r-- | p11-kit/server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/p11-kit/server.c b/p11-kit/server.c index b86d424..d8ffd78 100644 --- a/p11-kit/server.c +++ b/p11-kit/server.c @@ -418,7 +418,8 @@ server_loop (Server *server, if (ret == -1 && errno == EINTR) continue; - if (ret == 0 && children_avail == 0) { /* timeout */ + /* timeout */ + if (ret == 0 && children_avail == 0 && timeout != NULL) { p11_message ("no connections to %s for %lu secs, exiting", server->socket_name, timeout->tv_sec); break; } |