[Pcsclite-cvs-commit] r2372 - trunk/PCSC/src

Ludovic Rousseau rousseau at alioth.debian.org
Mon Feb 5 10:27:49 CET 2007


Author: rousseau
Date: 2007-02-05 10:27:49 +0100 (Mon, 05 Feb 2007)
New Revision: 2372

Modified:
   trunk/PCSC/src/winscard.c
Log:
SCardBeginTransaction(), SCardEndTransaction() and
SCardCancelTransaction(): display PC/SC return value in hex instead of
decimal


Modified: trunk/PCSC/src/winscard.c
===================================================================
--- trunk/PCSC/src/winscard.c	2007-02-05 09:10:45 UTC (rev 2371)
+++ trunk/PCSC/src/winscard.c	2007-02-05 09:27:49 UTC (rev 2372)
@@ -1003,7 +1003,7 @@
 
 	rv = RFLockSharing(hCard);
 
-	Log2(PCSC_LOG_DEBUG, "Status: %d.", rv);
+	Log2(PCSC_LOG_DEBUG, "Status: 0x%08X", rv);
 
 	return rv;
 }
@@ -1151,7 +1151,7 @@
 	 */
 	RFUnlockSharing(hCard);
 
-	Log2(PCSC_LOG_DEBUG, "Status: %d.", rv);
+	Log2(PCSC_LOG_DEBUG, "Status: 0x%08X", rv);
 
 	return rv;
 }
@@ -1187,7 +1187,7 @@
 
 	rv = RFUnlockSharing(hCard);
 
-	Log2(PCSC_LOG_DEBUG, "Status: %d.", rv);
+	Log2(PCSC_LOG_DEBUG, "Status: 0x%08X", rv);
 
 	return rv;
 }




More information about the Pcsclite-cvs-commit mailing list