fix ci* **04

Origin commit data
------------------
Branch: master
Commit: f953aa3b62
Author: max_10 <max_10@gmx.de>
Date: 2016-06-20 (Mon, 20 Jun 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2016-06-20 00:23:47 +02:00
parent d85847755f
commit bced5efe5b

View File

@@ -36,6 +36,12 @@ int eDVBCICAManagerSession::receivedAPDU(const unsigned char *tag, const void *d
printf("%04x ", (((const unsigned char*)data)[i] << 8) | (((const unsigned char*)data)[i + 1]));
caids.push_back((((const unsigned char*)data)[i] << 8) | (((const unsigned char*)data)[i + 1]));
}
if (!caids.empty())
if ((caids[0] & 0xFF00) == 0x1800)
{
caids.push_back(0x186A);
printf("%04x", 0x186A);
}
std::sort(caids.begin(), caids.end());
printf("\n");