mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
neutrino: let sectionsd debug actually work
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1226 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 672ff66361
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-02-27 (Sun, 27 Feb 2011)
This commit is contained in:
@@ -1622,7 +1622,7 @@ printf("CNeutrinoApp::SetChannelMode %d\n", newmode);
|
|||||||
* CNeutrinoApp - run, the main runloop *
|
* CNeutrinoApp - run, the main runloop *
|
||||||
**************************************************************************************/
|
**************************************************************************************/
|
||||||
extern int cnxt_debug;
|
extern int cnxt_debug;
|
||||||
extern int sections_debug;
|
extern bool sections_debug;
|
||||||
extern int zapit_debug;
|
extern int zapit_debug;
|
||||||
|
|
||||||
void CNeutrinoApp::CmdParser(int argc, char **argv)
|
void CNeutrinoApp::CmdParser(int argc, char **argv)
|
||||||
@@ -1632,6 +1632,7 @@ void CNeutrinoApp::CmdParser(int argc, char **argv)
|
|||||||
global_argv[i] = argv[i];
|
global_argv[i] = argv[i];
|
||||||
global_argv[argc] = NULL;
|
global_argv[argc] = NULL;
|
||||||
|
|
||||||
|
sections_debug = false;
|
||||||
softupdate = false;
|
softupdate = false;
|
||||||
fromflash = false;
|
fromflash = false;
|
||||||
|
|
||||||
@@ -1657,7 +1658,7 @@ void CNeutrinoApp::CmdParser(int argc, char **argv)
|
|||||||
cnxt_debug = 1;
|
cnxt_debug = 1;
|
||||||
}
|
}
|
||||||
else if ((!strcmp(argv[x], "-sd"))) {
|
else if ((!strcmp(argv[x], "-sd"))) {
|
||||||
sections_debug = 1;
|
sections_debug = true;
|
||||||
}
|
}
|
||||||
else if ((!strcmp(argv[x], "-zd"))) {
|
else if ((!strcmp(argv[x], "-zd"))) {
|
||||||
zapit_debug = 1;
|
zapit_debug = 1;
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
bool sections_debug = false;
|
bool sections_debug;
|
||||||
|
|
||||||
void printdate_ms(FILE *f) {
|
void printdate_ms(FILE *f) {
|
||||||
timeval now;
|
timeval now;
|
||||||
|
Reference in New Issue
Block a user