[Pcsclite-cvs-commit] r5340 - /trunk/PCSC/src/winscard.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Oct 22 09:49:20 UTC 2010
Author: rousseau
Date: Fri Oct 22 09:49:17 2010
New Revision: 5340
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5340
Log:
Reindent
Modified:
trunk/PCSC/src/winscard.c
Modified: trunk/PCSC/src/winscard.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard.c?rev=5340&op=diff
==============================================================================
--- trunk/PCSC/src/winscard.c (original)
+++ trunk/PCSC/src/winscard.c Fri Oct 22 09:49:17 2010
@@ -870,31 +870,31 @@
else
#endif
{
- /*
- * Set up the status bit masks on readerState
- */
- if (rv == SCARD_S_SUCCESS)
- {
- rContext->readerState->cardAtrLength = dwAtrLen;
- rContext->readerState->readerState =
- SCARD_PRESENT | SCARD_POWERED | SCARD_NEGOTIABLE;
-
- Log1(PCSC_LOG_DEBUG, "Reset complete.");
- LogXxd(PCSC_LOG_DEBUG, "Card ATR: ",
- rContext->readerState->cardAtr,
- rContext->readerState->cardAtrLength);
- }
- else
- {
- rContext->readerState->cardAtrLength = 0;
- Log1(PCSC_LOG_ERROR, "Error resetting card.");
-
- if (rv == SCARD_W_REMOVED_CARD)
- rContext->readerState->readerState = SCARD_ABSENT;
+ /*
+ * Set up the status bit masks on readerState
+ */
+ if (rv == SCARD_S_SUCCESS)
+ {
+ rContext->readerState->cardAtrLength = dwAtrLen;
+ rContext->readerState->readerState =
+ SCARD_PRESENT | SCARD_POWERED | SCARD_NEGOTIABLE;
+
+ Log1(PCSC_LOG_DEBUG, "Reset complete.");
+ LogXxd(PCSC_LOG_DEBUG, "Card ATR: ",
+ rContext->readerState->cardAtr,
+ rContext->readerState->cardAtrLength);
+ }
else
- rContext->readerState->readerState =
- SCARD_PRESENT | SCARD_SWALLOWED;
- }
+ {
+ rContext->readerState->cardAtrLength = 0;
+ Log1(PCSC_LOG_ERROR, "Error resetting card.");
+
+ if (rv == SCARD_W_REMOVED_CARD)
+ rContext->readerState->readerState = SCARD_ABSENT;
+ else
+ rContext->readerState->readerState =
+ SCARD_PRESENT | SCARD_SWALLOWED;
+ }
}
}
else if (dwDisposition == SCARD_EJECT_CARD)
More information about the Pcsclite-cvs-commit
mailing list