[Pcsclite-cvs-commit] r4918 - /trunk/PCSC/src/pcscdaemon.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue May 4 13:18:50 UTC 2010
Author: rousseau
Date: Tue May 4 13:18:47 2010
New Revision: 4918
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4918
Log:
ExitValue default value is now EXIT_FAILURE instead of EXIT_SUCCESS
Modified:
trunk/PCSC/src/pcscdaemon.c
Modified: trunk/PCSC/src/pcscdaemon.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/pcscdaemon.c?rev=4918&op=diff
==============================================================================
--- trunk/PCSC/src/pcscdaemon.c (original)
+++ trunk/PCSC/src/pcscdaemon.c Tue May 4 13:18:47 2010
@@ -54,7 +54,7 @@
char AraKiri = FALSE;
static char Init = TRUE;
char AutoExit = FALSE;
-static int ExitValue = EXIT_SUCCESS;
+static int ExitValue = EXIT_FAILURE;
int HPForceReaderPolling = 0;
/*
@@ -505,7 +505,6 @@
{
Log3(PCSC_LOG_CRITICAL, "invalid file %s: %s", newReaderConfig,
strerror(errno));
- ExitValue = EXIT_FAILURE;
at_exit();
}
}
@@ -513,10 +512,7 @@
{
rv = RFStartSerialReaders(PCSCLITE_READER_CONFIG);
if (rv == -1)
- {
- ExitValue = EXIT_FAILURE;
at_exit();
- }
}
#endif
More information about the Pcsclite-cvs-commit
mailing list