updates.
authorPekka Riikonen <priikone@silcnet.org>
Mon, 19 Feb 2001 14:49:34 +0000 (14:49 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 19 Feb 2001 14:49:34 +0000 (14:49 +0000)
apps/silc/silc.c

index 60aa56633075d30a8a8bb96dce7ba7a90761682f..16753c5f1a08a44d76fabfa205e12aab71c87bdb 100644 (file)
@@ -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;