From: Pekka Riikonen Date: Mon, 19 Feb 2001 14:49:34 +0000 (+0000) Subject: updates. X-Git-Tag: SILC.0.1~208 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=c27b0a6267db11af32b88621cfb2705d51636825;p=silc.git updates. --- 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;