mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
formatting code using astyle
Origin commit data
------------------
Branch: master
Commit: bc17c13de4
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-05-17 (Mon, 17 May 2021)
Origin message was:
------------------
- formatting code using astyle
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -22,7 +22,7 @@ int eDVBCIDateTimeSession::receivedAPDU(const unsigned char *tag, const void *da
|
||||
{
|
||||
printf("[CI DT] SESSION(%d)/DATETIME %02x %02x %02x: ", session_nb, tag[0], tag[1], tag[2]);
|
||||
for (int i = 0; i < len; i++)
|
||||
printf("%02x ", ((const unsigned char*)data)[i]);
|
||||
printf("%02x ", ((const unsigned char *)data)[i]);
|
||||
printf("\n");
|
||||
|
||||
if ((tag[0] == 0x9f) && (tag[1] == 0x84))
|
||||
@@ -52,7 +52,7 @@ int eDVBCIDateTimeSession::doAction()
|
||||
return 0;
|
||||
case stateFinal:
|
||||
printf("stateFinal und action! kann doch garnicht sein ;)\n");
|
||||
// fall through
|
||||
// fall through
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
@@ -66,7 +66,7 @@ void eDVBCIDateTimeSession::sendDateTime()
|
||||
unsigned char msg[7] = {0, 0, 0, 0, 0, 0, 0};
|
||||
printf("[CI DT] -> %s\n", __FUNCTION__);
|
||||
time_t t = time(NULL);
|
||||
if ( gmtime_r(&t, &tm_gmt) && localtime_r(&t, &tm_loc) )
|
||||
if (gmtime_r(&t, &tm_gmt) && localtime_r(&t, &tm_loc))
|
||||
{
|
||||
int Y = tm_gmt.tm_year;
|
||||
int M = tm_gmt.tm_mon + 1;
|
||||
|
Reference in New Issue
Block a user