equal
deleted
inserted
replaced
216 connection = connect_data->connection; |
216 connection = connect_data->connection; |
217 proxy = lm_connection_get_proxy (connection); |
217 proxy = lm_connection_get_proxy (connection); |
218 |
218 |
219 g_return_val_if_fail (proxy != NULL, FALSE); |
219 g_return_val_if_fail (proxy != NULL, FALSE); |
220 |
220 |
221 if (condition & G_IO_ERR) { |
221 if (condition & (G_IO_ERR | G_IO_HUP | G_IO_NVAL)) { |
222 len = sizeof (error); |
222 len = sizeof (error); |
223 _lm_sock_get_error (connect_data->fd, &error, &len); |
223 _lm_sock_get_error (connect_data->fd, &error, &len); |
224 _lm_old_socket_failed_with_error (connect_data, error); |
224 _lm_old_socket_failed_with_error (connect_data, error); |
225 return FALSE; |
225 return FALSE; |
226 } else if (condition & G_IO_OUT) { |
226 } else if (condition & G_IO_OUT) { |