X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=muttlib.c;h=7e89aff0ff6c72cec08eddc8174e03a60437cb47;hp=3e8bc09bc89e7a3e7e6a2842639f1e09d2fce8b7;hb=28dbd9fbf148be07366048163fffbf7f55a57def;hpb=56025510c87ad388a257fcbd8b369b0edcf97c34 diff --git a/muttlib.c b/muttlib.c index 3e8bc09..7e89aff 100644 --- a/muttlib.c +++ b/muttlib.c @@ -32,7 +32,6 @@ #include #include #include -#include #include #include @@ -181,11 +180,8 @@ void mutt_free_body (BODY ** p) if (b->parameter) parameter_list_wipe(&b->parameter); if (b->unlink && b->filename) { - debug_print (1, ("unlinking %s.\n", b->filename)); unlink (b->filename); } - else if (b->filename) - debug_print (1, ("not unlinking %s.\n", b->filename)); p_delete(&b->filename); p_delete(&b->content); @@ -552,7 +548,6 @@ void _mutt_mktemp (char *s, const char *src, int line) snprintf (s, _POSIX_PATH_MAX, "%s/madmutt-%s-%d-%d-%d-%x%x", NONULL (Tempdir), NONULL (Hostname), (int) getuid (), (int) getpid (), Counter++, (unsigned int) rand(), (unsigned int) rand()); - debug_print (1, ("%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s)); unlink (s); } @@ -1210,8 +1205,6 @@ int mutt_match_spam_list (const char *s, SPAM_LIST * l, char *text, int x) /* Does this pattern match? */ if (regexec(l->rx->rx, s, l->nmatch, (regmatch_t *)pmatch, (int) 0) == 0) { - debug_print (5, ("%s matches %s\n%d subst", s, l->rx->pattern, l->rx->rx->re_nsub)); - /* Copy template into text, with substitutions. */ for (p = l->template; *p;) { if (*p == '%') { @@ -1226,7 +1219,6 @@ int mutt_match_spam_list (const char *s, SPAM_LIST * l, char *text, int x) } } text[tlen] = '\0'; - debug_print (5, ("\"%s\"\n", text)); return 1; } }