[Pcsclite-cvs-commit] r2733 - /trunk/PCSC/src/dyn_macosx.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Mon Jan 14 10:51:42 UTC 2008
Author: rousseau
Date: Mon Jan 14 10:51:42 2008
New Revision: 2733
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2733
Log:
DYN_LoadLibrary(): log an error message in case of failure
Modified:
trunk/PCSC/src/dyn_macosx.c
Modified: trunk/PCSC/src/dyn_macosx.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/dyn_macosx.c?rev=2733&op=diff
==============================================================================
--- trunk/PCSC/src/dyn_macosx.c (original)
+++ trunk/PCSC/src/dyn_macosx.c Mon Jan 14 10:51:42 2008
@@ -54,10 +54,14 @@
bundle = CFBundleCreate(NULL, bundleURL);
CFRelease(bundleURL);
if (bundle == NULL)
+ {
+ Log1(PCSC_LOG_ERROR, "CFBundleCreate");
return SCARD_F_UNKNOWN_ERROR;
+ }
if (!CFBundleLoadExecutable(bundle))
{
+ Log1(PCSC_LOG_ERROR, "CFBundleLoadExecutable");
CFRelease(bundle);
return SCARD_F_UNKNOWN_ERROR;
}
More information about the Pcsclite-cvs-commit
mailing list