diff options
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -258,8 +258,9 @@ connector_on_ready (const struct pollfd *pfd, struct connector *self) if (error) { - connector_notify_error (self, strerror (errno)); + connector_notify_error (self, strerror (error)); + poller_fd_reset (&self->connected_event); xclose (self->socket); self->socket = -1; |