Fixed pending command deletion to delete correctly.
[silc.git] / lib / silcclient / command.h
index a334352ed9c691c9959aff0f2cadc757d19aef29..b85d2e05a18399c4bb3fdf6ede4ed556c32e0f94 100644 (file)
@@ -60,9 +60,10 @@ struct SilcClientCommandContextStruct {
    executed after command reply has been executed. */
 typedef struct SilcClientCommandPendingStruct {
   SilcCommand reply_cmd;
+  SilcUInt16 ident;
+  unsigned int reply_check : 8;
   SilcCommandCb callback;
   void *context;
-  SilcUInt16 ident;
   struct SilcClientCommandPendingStruct *next;
 } SilcClientCommandPending;