Signed-off-by: Hans de Goede <[email protected]>
---
 server/smartcard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/smartcard.c b/server/smartcard.c
index 08ba3da..43ca1ac 100644
--- a/server/smartcard.c
+++ b/server/smartcard.c
@@ -453,7 +453,7 @@ static int 
smartcard_channel_handle_message(RedChannelClient *rcc,
         return red_channel_client_handle_message(rcc, size, type, msg);
     }
 
-    ASSERT(header->size == vheader->length + sizeof(VSCMsgHeader));
+    ASSERT(size == vheader->length + sizeof(VSCMsgHeader));
     switch (vheader->type) {
         case VSC_ReaderAdd:
             smartcard_add_reader(rcc, msg + sizeof(VSCMsgHeader));
-- 
1.7.7.4

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to