if (!old_query) {
query = silc_calloc(1, sizeof(*query));
+ if (!query)
+ return FALSE;
query->querycmd = querycmd;
query->cmd = silc_server_command_dup(cmd);
query->router = SILC_PRIMARY_ROUTE(server);
} else {
/* Parse the IDs included in the query */
query->ids = silc_calloc(argc, sizeof(*query->ids));
+ if (!query->ids)
+ return FALSE;
for (i = 0; i < argc; i++) {
tmp = silc_argument_get_arg_type(cmd->args, i + 4, &tmp_len);
} else {
/* Parse the IDs included in the query */
query->ids = silc_calloc(argc, sizeof(*query->ids));
+ if (!query->ids)
+ return FALSE;
for (i = 0; i < argc; i++) {
tmp = silc_argument_get_arg_type(cmd->args, i + 5, &tmp_len);
SilcSKRKey key;
if (keys) {
+ SILC_LOG_DEBUG(("Found %d keys", silc_dlist_count(keys)));
(*uc->clients) = silc_realloc((*uc->clients),
sizeof((**uc->clients)) *
((*uc->clients_count) +