cleanups, release fixes and ugly code replace

git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@335787 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Johannes Findeisen 2015-01-22 22:21:24 +00:00
commit 55640fee83
3 changed files with 8 additions and 8 deletions

2
pcsc.c
View file

@ -590,7 +590,7 @@ PHP_FUNCTION(scard_list_readers)
Return a handle to the card */
PHP_FUNCTION(scard_connect)
{
DWORD dwPreferredProtocol = SCARD_PROTOCOL_T1|SCARD_PROTOCOL_T0;
DWORD dwPreferredProtocol = SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1;
DWORD dwCurrentProtocol;
SCARDHANDLE hCard = 0;
LONG rc = 0;