Attributes length was not saved.
authorPekka Riikonen <priikone@silcnet.org>
Wed, 9 Oct 2002 18:59:24 +0000 (18:59 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 9 Oct 2002 18:59:24 +0000 (18:59 +0000)
apps/silcd/command_reply.c

index d0df3feb4ff4ea1d47a4f21923edf73b6705873c..71c4da6a19647d5dd3cef2dd3e24693ea7f98206 100644 (file)
@@ -311,6 +311,7 @@ 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;