imap_urlauth_client_count--;
DLLIST_REMOVE(&imap_urlauth_clients, client);
- timeout_remove(&client->to_idle);
+ timeout_remove(&client->to_destroy);
client_worker_disconnect(client);
client->disconnected = TRUE;
e_info(client->event, "Disconnected: %s", reason);
- client->to_idle = timeout_add(0, client_destroy_timeout, client);
+ client->to_destroy = timeout_add(0, client_destroy_timeout, client);
}
void clients_destroy_all(void)
struct io *ctrl_io;
struct ostream *output, *ctrl_output;
struct istream *ctrl_input;
- struct timeout *to_idle;
+ struct timeout *to_destroy;
struct event *event;
char *username, *service;