* Looks like I left some debugging code in there
This commit is contained in:
parent
74f4fe9fe9
commit
a8dd8d5770
1 changed files with 0 additions and 2 deletions
|
@ -290,7 +290,6 @@ static int parseargs(int argc, char *argv[])
|
||||||
|
|
||||||
if(optarg) {
|
if(optarg) {
|
||||||
unsigned short debug = atoi(optarg);
|
unsigned short debug = atoi(optarg);
|
||||||
printf("setting logmask to %s\n", optarg);
|
|
||||||
switch(debug) {
|
switch(debug) {
|
||||||
case 3: logmask |= PM_LOG_FUNCTION; /* fall through */
|
case 3: logmask |= PM_LOG_FUNCTION; /* fall through */
|
||||||
case 2: logmask |= PM_LOG_DOWNLOAD; /*fall through */
|
case 2: logmask |= PM_LOG_DOWNLOAD; /*fall through */
|
||||||
|
@ -299,7 +298,6 @@ static int parseargs(int argc, char *argv[])
|
||||||
ERR(NL, _("'%s' is not a valid debug level"), optarg);
|
ERR(NL, _("'%s' is not a valid debug level"), optarg);
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
printf("logmask = %d\n", logmask);
|
|
||||||
} else {
|
} else {
|
||||||
logmask |= PM_LOG_DEBUG;
|
logmask |= PM_LOG_DEBUG;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue