X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Finc.c;h=1dcba6a57cdbd642e8eb9bf2ce28d7203ab411e8;hb=326954c9b88b5698383fe317f4c202d871ef47d0;hp=1bc076663b2503a8663479506b5913ce5f648d78;hpb=cbe5256a53c1c5a724264c14d96c4ade664a577a;p=mmh diff --git a/uip/inc.c b/uip/inc.c index 1bc0766..1dcba6a 100644 --- a/uip/inc.c +++ b/uip/inc.c @@ -236,10 +236,6 @@ main (int argc, char **argv) char *MAILHOST_env_variable; #endif -#ifdef MHE - FILE *mhe = NULL; -#endif - done=inc_done; /* absolutely the first thing we do is save our privileges, @@ -632,20 +628,6 @@ go_to_it: #endif /* POP */ } -#ifdef MHE - if (context_find ("mhe")) { - int i; - cp = concat (maildir, "/++", NULL); - i = stat (cp, &st); - if ((mhe = fopen (cp, "a")) == NULL) - admonish (cp, "unable to append to"); - else - if (i == NOTOK) - chmod (cp, m_gmprot ()); - free (cp); - } -#endif /* MHE */ - /* Get new format string */ nfs = new_fs (form, format, FORMAT); @@ -741,10 +723,6 @@ go_to_it: default: if (aud) fputs (scanl, aud); -# ifdef MHE - if (mhe) - fputs (scanl, mhe); -# endif /* MHE */ if (noisy) fflush (stdout); if (!packfile) { @@ -852,10 +830,6 @@ go_to_it: if (aud) fputs (scanl, aud); -#ifdef MHE - if (mhe) - fputs (scanl, mhe); -#endif /* MHE */ if (noisy) fflush (stdout); @@ -875,7 +849,7 @@ go_to_it: */ break; } - } else { /* Maildir inbox to process */ + } else if (inc_type == INC_FILE) { /* Maildir inbox to process */ char *sp; FILE *sf; int i; @@ -951,10 +925,6 @@ go_to_it: if (aud) fputs (scanl, aud); -# ifdef MHE - if (mhe) - fputs (scanl, mhe); -# endif /* MHE */ if (noisy) fflush (stdout); if (!packfile) { @@ -995,11 +965,6 @@ go_to_it: if (aud) fclose (aud); -#ifdef MHE - if (mhe) - fclose (mhe); -#endif /* MHE */ - if (noisy) fflush (stdout);