summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
deba1a6)
- bug fix: fake '-d X' command line option using ugly '-e "set debug_level=X"' so that level from command line isn't ignored due to option initializing...
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@550
e385b8ad-14ed-0310-8656-
cc95a2468c6d
- debug_setlevel(atoi(optarg));
-#ifndef DEBUG
- printf _("DEBUG was not defined during compilation. Ignored.\n");
-#endif
+ {
+ char puke[20];
+ snprintf (puke, sizeof (puke), "set debug_level=%d", atoi (optarg));
+ commands = mutt_add_list (commands, puke);
+ }