diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-12 04:26:18 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-12 05:04:17 +0200 |
commit | 5a0af0364f3eb5cb98f56493d9681afde3b1a0b1 (patch) | |
tree | 816641c084bc3c59da42885df6097b4fd0918d0f /common.c | |
parent | e4cbd6cf3f983a5bb2e3517f6ca4bec243c09937 (diff) | |
download | xK-5a0af0364f3eb5cb98f56493d9681afde3b1a0b1.tar.gz xK-5a0af0364f3eb5cb98f56493d9681afde3b1a0b1.tar.xz xK-5a0af0364f3eb5cb98f56493d9681afde3b1a0b1.zip |
common: fix connector failure
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; |