# HG changeset patch # User Timo Sirainen # Date 1137944937 -7200 # Node ID b7da6fac35a384f30beddfcbe23bceffa26f4201 # Parent c8f7e92f77da43ffdde8e1b933f0f66fb9e9a2be If we don't have any auth sockets, don't say we're connected to it. diff -r c8f7e92f77da -r b7da6fac35a3 src/lib-auth/auth-client.c --- a/src/lib-auth/auth-client.c Sun Jan 22 15:55:20 2006 +0200 +++ b/src/lib-auth/auth-client.c Sun Jan 22 17:48:57 2006 +0200 @@ -109,7 +109,8 @@ bool auth_client_is_connected(struct auth_client *client) { return !client->reconnect && - client->conn_waiting_handshake_count == 0; + client->conn_waiting_handshake_count == 0 && + client->connections != NULL; } void auth_client_set_connect_notify(struct auth_client *client,