Fixed the query sending between router and server. Fixed bugs
[silc.git] / apps / silcd / command_reply.c
index 6d427ca9e626ebb36cc782d148dc6a12790c8fe7..ff36562e19f2f7903f2dc5918ea1b4a7e44ad8a9 100644 (file)
@@ -292,6 +292,7 @@ silc_server_command_reply_whois_save(SilcServerCommandReplyContext cmd)
   if (tmp) {
     silc_free(client->attrs);
     client->attrs = silc_memdup(tmp, len);
+    client->attrs_len = len;
   }
 
   return TRUE;
@@ -311,8 +312,11 @@ silc_server_command_reply_whois_save_client(SilcServerCommandReplyContext cmd)
   if (tmp && client) {
     silc_free(client->attrs);
     client->attrs = silc_memdup(tmp, len);
+    client->attrs_len = len;
   }
 
+  client->data.status &= ~SILC_IDLIST_STATUS_RESOLVING;
+
   return TRUE;
 }