From c27b0a6267db11af32b88621cfb2705d51636825 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 19 Feb 2001 14:49:34 +0000 Subject: [PATCH] updates. --- apps/silc/silc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/silc/silc.c b/apps/silc/silc.c index 60aa5663..16753c5f 100644 --- a/apps/silc/silc.c +++ b/apps/silc/silc.c @@ -546,7 +546,7 @@ static void silc_client_process_message(SilcClientInternal app) /* Allocate command context. This and its internals must be free'd by the command routine receiving it. */ - ctx = silc_client_command_alloc(); + ctx = silc_calloc(1, sizeof(*ctx)); ctx->client = app->client; ctx->conn = app->conn; ctx->command = cmd; -- 2.24.0