libdvbci: some manual code nicenings

Origin commit data
------------------
Branch: master
Commit: f67dc18443
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-11-07 (Sun, 07 Nov 2021)

Origin message was:
------------------
- libdvbci: some manual code nicenings

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-11-07 00:57:01 +01:00
parent ea7a941fa6
commit 94e1c9da6f
7 changed files with 29 additions and 56 deletions

View File

@@ -130,10 +130,12 @@ bool eDVBCIApplicationManagerSession::readBlist()
for (i = 0; i < 4; i++)
{
rc = fgetc(fd);
if (rc == ',' || rc == EOF) break;
if (rc == ',' || rc == EOF)
break;
cSid[i] = (char)rc;
}
if (rc == EOF) goto fin;
if (rc == EOF)
goto fin;
if (i == 4)
{
Sid = (u16)strtol(cSid, NULL, 16);