[Pcsclite-cvs-commit] r4795 - /trunk/Drivers/ccid/src/commands.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Mar 5 09:48:46 UTC 2010


Author: rousseau
Date: Fri Mar  5 09:48:45 2010
New Revision: 4795

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4795
Log:
CCID_Receive(): set the received length for a ICCD Version A device

Thanks to El Tuba for the patch

Modified:
    trunk/Drivers/ccid/src/commands.c

Modified: trunk/Drivers/ccid/src/commands.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/commands.c?rev=4795&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/commands.c (original)
+++ trunk/Drivers/ccid/src/commands.c Fri Mar  5 09:48:45 2010
@@ -1197,6 +1197,9 @@
 			DEBUG_INFO2("ICC Data Block failed: %s", strerror(errno));
 			return IFD_COMMUNICATION_ERROR;
 		}
+
+		/* we need to store returned value */
+		*rx_length = r;
 
 		return IFD_SUCCESS;
 	}




More information about the Pcsclite-cvs-commit mailing list