mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
* Looks like I left some debugging code in there
This commit is contained in:
parent
74f4fe9fe9
commit
a8dd8d5770
@ -290,7 +290,6 @@ static int parseargs(int argc, char *argv[])
|
||||
|
||||
if(optarg) {
|
||||
unsigned short debug = atoi(optarg);
|
||||
printf("setting logmask to %s\n", optarg);
|
||||
switch(debug) {
|
||||
case 3: logmask |= PM_LOG_FUNCTION; /* 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);
|
||||
return(1);
|
||||
}
|
||||
printf("logmask = %d\n", logmask);
|
||||
} else {
|
||||
logmask |= PM_LOG_DEBUG;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user