X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fcommand_reply.c;h=bff81fa6644965d02569106e54f6924721fe894d;hb=f88b3f268a6f1e8f4adb1c2bd742a6ee41612241;hp=ecf6f3c22ff8614c6801093b7cee17d2ed9cc8c6;hpb=4a0081751a282b29d525b5f9a3312628aed24a2f;p=silc.git diff --git a/apps/silcd/command_reply.c b/apps/silcd/command_reply.c index ecf6f3c2..bff81fa6 100644 --- a/apps/silcd/command_reply.c +++ b/apps/silcd/command_reply.c @@ -66,7 +66,6 @@ void silc_server_command_reply_process(SilcServer server, SilcServerCommandReplyContext ctx; SilcCommandPayload payload; SilcCommand command; - SilcUInt16 ident; SILC_LOG_DEBUG(("Start")); @@ -85,13 +84,12 @@ void silc_server_command_reply_process(SilcServer server, ctx->sock = silc_socket_dup(sock); ctx->payload = payload; ctx->args = silc_command_get_args(ctx->payload); - ident = silc_command_get_ident(ctx->payload); + ctx->ident = silc_command_get_ident(ctx->payload); /* Check for pending commands and mark to be exeucted */ ctx->callbacks = - silc_server_command_pending_check(server, ctx, - silc_command_get(ctx->payload), - ident, &ctx->callbacks_count); + silc_server_command_pending_check(server, silc_command_get(ctx->payload), + ctx->ident, &ctx->callbacks_count); /* Execute command reply */ command = silc_command_get(ctx->payload);