diff options
Diffstat (limited to 'src/control.c')
| -rw-r--r-- | src/control.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/control.c b/src/control.c index 794d4a12..97bed1ae 100644 --- a/src/control.c +++ b/src/control.c @@ -84,7 +84,8 @@ control_free(struct fd_list *fd) fd->ctx->ps_control_client = NULL; #endif - if (eloop_event_remove_writecb(fd->ctx->eloop, fd->fd) == -1) + if (eloop_event_remove_writecb(fd->ctx->eloop, fd->fd) == -1 && + errno != ENOENT) logerr(__func__); TAILQ_REMOVE(&fd->ctx->control_fds, fd, next); control_queue_free(fd); |
