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
This commit is contained in:
seife
2011-02-27 12:21:44 +00:00
parent a6b31ebaa0
commit 672ff66361
2 changed files with 4 additions and 3 deletions

View File

@@ -1622,7 +1622,7 @@ printf("CNeutrinoApp::SetChannelMode %d\n", newmode);
* CNeutrinoApp - run, the main runloop *
**************************************************************************************/
extern int cnxt_debug;
extern int sections_debug;
extern bool sections_debug;
extern int zapit_debug;
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[argc] = NULL;
sections_debug = false;
softupdate = false;
fromflash = false;
@@ -1657,7 +1658,7 @@ void CNeutrinoApp::CmdParser(int argc, char **argv)
cnxt_debug = 1;
}
else if ((!strcmp(argv[x], "-sd"))) {
sections_debug = 1;
sections_debug = true;
}
else if ((!strcmp(argv[x], "-zd"))) {
zapit_debug = 1;

View File

@@ -24,7 +24,7 @@
#include <time.h>
#include <sys/time.h>
bool sections_debug = false;
bool sections_debug;
void printdate_ms(FILE *f) {
timeval now;