Save packet on private message's command context.
authorPekka Riikonen <priikone@silcnet.org>
Wed, 19 Jul 2000 07:07:34 +0000 (07:07 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 19 Jul 2000 07:07:34 +0000 (07:07 +0000)
apps/silc/client.c

index 9099d7ad50e96e8a6a8abcf6c1d824aea527f9d9..9ec43ec7a62d8f17ca9bf90f31c4822d6724a2a7 100644 (file)
@@ -20,6 +20,9 @@
 /*
  * $Id$
  * $Log$
+ * Revision 1.12  2000/07/19 07:07:34  priikone
+ *     Save packet on private message's command context.
+ *
  * Revision 1.11  2000/07/18 12:20:39  priikone
  *     Added ^U functionality, clears input line (patch form cras).
  *
@@ -1277,7 +1280,7 @@ void silc_client_packet_parse_type(SilcClient client,
       ctx = silc_calloc(1, sizeof(*ctx));
       ctx->client = client;
       ctx->sock = sock;
-      ctx->context = buffer;   /* kludge */
+      ctx->packet = packet;
       silc_client_command_reply_msg((void *)ctx);
     }
     break;