[Pcsclite-cvs-commit] r1799 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at costa.debian.org
Thu Jan 12 21:51:26 UTC 2006


Author: rousseau
Date: 2006-01-12 21:51:25 +0000 (Thu, 12 Jan 2006)
New Revision: 1799

Modified:
   trunk/Drivers/ccid/src/ccid.c
Log:
ccid_open_hack(): use { } around DEBUG_COMM() in an if-else since
DEBUG_COMM() is not a function but an multi-instruction macro


Modified: trunk/Drivers/ccid/src/ccid.c
===================================================================
--- trunk/Drivers/ccid/src/ccid.c	2006-01-11 16:03:07 UTC (rev 1798)
+++ trunk/Drivers/ccid/src/ccid.c	2006-01-12 21:51:25 UTC (rev 1799)
@@ -175,9 +175,13 @@
 				}
 
 				if (IFD_SUCCESS == CmdEscape(reader_index, cmd, sizeof(cmd), res, &length_res))
+				{
 					DEBUG_COMM("l10n string loaded successfully");
+				}
 				else
+				{
 					DEBUG_COMM("Failed to load l10n strings");
+				}
 			}
 			break;
 




More information about the Pcsclite-cvs-commit mailing list