[Pcsclite-cvs-commit] r4468 - /trunk/PCSC/doc/example/pcsc_demo.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Oct 8 13:16:38 UTC 2009
Author: rousseau
Date: Thu Oct 8 13:16:38 2009
New Revision: 4468
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4468
Log:
cleanly exits in case of unknown protocol
Modified:
trunk/PCSC/doc/example/pcsc_demo.c
Modified: trunk/PCSC/doc/example/pcsc_demo.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/doc/example/pcsc_demo.c?rev=4468&op=diff
==============================================================================
--- trunk/PCSC/doc/example/pcsc_demo.c (original)
+++ trunk/PCSC/doc/example/pcsc_demo.c Thu Oct 8 13:16:38 2009
@@ -165,7 +165,7 @@
break;
default:
printf("Unknown protocol\n");
- return -1;
+ goto end;
}
/* exchange APDU */
More information about the Pcsclite-cvs-commit
mailing list