[Pcsclite-cvs-commit] r2878 - /trunk/PCSC/src/hotplug_libhal.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Apr 10 09:59:22 UTC 2008
Author: rousseau
Date: Thu Apr 10 09:59:22 2008
New Revision: 2878
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2878
Log:
HPRegisterForHotplugEvents(): correctly check if no bundle files in pcsc
drivers directory
Modified:
trunk/PCSC/src/hotplug_libhal.c
Modified: trunk/PCSC/src/hotplug_libhal.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/hotplug_libhal.c?rev=2878&op=diff
==============================================================================
--- trunk/PCSC/src/hotplug_libhal.c (original)
+++ trunk/PCSC/src/hotplug_libhal.c Thu Apr 10 09:59:22 2008
@@ -444,7 +444,7 @@
int i, num_devices;
DBusError error;
- if (0 == driverSize)
+ if (driverSize <= 0)
{
Log1(PCSC_LOG_INFO, "No bundle files in pcsc drivers directory: " PCSCLITE_HP_DROPDIR);
Log1(PCSC_LOG_INFO, "Disabling USB support for pcscd");
More information about the Pcsclite-cvs-commit
mailing list