From: Pekka Riikonen Date: Wed, 9 Oct 2002 17:55:10 +0000 (+0000) Subject: Remove the resolving flag from client after received Requested X-Git-Tag: silc.client.0.9.6~42 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=fa84a6887c7cf647a6652527f5cfdc16036f9fbc;p=silc.git Remove the resolving flag from client after received Requested Attributes from the client. --- diff --git a/apps/silcd/command_reply.c b/apps/silcd/command_reply.c index 6d427ca9..d0df3feb 100644 --- a/apps/silcd/command_reply.c +++ b/apps/silcd/command_reply.c @@ -313,6 +313,8 @@ silc_server_command_reply_whois_save_client(SilcServerCommandReplyContext cmd) client->attrs = silc_memdup(tmp, len); } + client->data.status &= ~SILC_IDLIST_STATUS_RESOLVING; + return TRUE; } diff --git a/apps/silcd/idlist.c b/apps/silcd/idlist.c index 900092bf..ac025947 100644 --- a/apps/silcd/idlist.c +++ b/apps/silcd/idlist.c @@ -376,6 +376,7 @@ int silc_idlist_del_client(SilcIDList id_list, SilcClientEntry entry) silc_free(entry->username); silc_free(entry->userinfo); silc_free(entry->id); + silc_free(entry->attrs); silc_hash_table_free(entry->channels); memset(entry, 'F', sizeof(*entry)); @@ -575,6 +576,7 @@ void silc_idlist_client_destructor(SilcIDCache cache, silc_free(client->username); silc_free(client->userinfo); silc_free(client->id); + silc_free(client->attrs); silc_hash_table_free(client->channels); memset(client, 'A', sizeof(*client));