X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=main.c;h=24eb705334c29cc9ccfe93db3ac5b48d3cfca8b0;hb=fc6abafa44b6725ab210f045a00c10634bacc8c5;hp=1458f7228815150f67050537d2a65bde09351bca;hpb=deba1a6bedde867b8b52d63021fabfe3953b8a10;p=apps%2Fmadmutt.git diff --git a/main.c b/main.c index 1458f72..24eb705 100644 --- a/main.c +++ b/main.c @@ -639,10 +639,11 @@ int main (int argc, char **argv) break; case 'd': - 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); + } break; case 't':