[Pcsclite-cvs-commit] r5149 - /trunk/PCSC/src/pcscdaemon.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue Aug 17 08:56:33 UTC 2010
Author: rousseau
Date: Tue Aug 17 08:56:29 2010
New Revision: 5149
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5149
Log:
main(): Log a message if HPRegisterForHotplugEvents() fails
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=5149&op=diff
==============================================================================
--- trunk/PCSC/src/pcscdaemon.c (original)
+++ trunk/PCSC/src/pcscdaemon.c Tue Aug 17 08:56:29 2010
@@ -597,7 +597,10 @@
rv = HPRegisterForHotplugEvents();
if (rv)
+ {
+ Log1(PCSC_LOG_ERROR, "HPRegisterForHotplugEvents failed");
at_exit();
+ }
#endif
/*
More information about the Pcsclite-cvs-commit
mailing list