X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frepl.c;h=07ec48c0197532f4c74ffa7580f1dbd80096aa6d;hb=bca1c9b36980c74f4dcc66a2d23e5d09083e0201;hp=be4eb402262cf2626dc7253ba300d8a509afeef4;hpb=aed384169af5204b8002d06e7a22f89197963d2d;p=mmh diff --git a/uip/repl.c b/uip/repl.c index be4eb40..07ec48c 100644 --- a/uip/repl.c +++ b/uip/repl.c @@ -745,15 +745,9 @@ insert(struct mailname *np) snprintf(buffer, sizeof(buffer), "Reply to %s? ", adrformat(np)); if (!gans(buffer, anoyes)) - return 0; + return 0; } mp->m_next = np; - -#ifdef ISI - if (ismymbox(np)) - ccme = 0; -#endif - return 1; } @@ -766,7 +760,7 @@ insert(struct mailname *np) static void replfilter(FILE *in, FILE *out, char *filter) { - int pid; + int pid, n; char *errstr; if (filter == NULL) @@ -785,7 +779,9 @@ replfilter(FILE *in, FILE *out, char *filter) case OK: dup2(fileno(in), fileno(stdin)); dup2(fileno(out), fileno(stdout)); - closefds(3); + for (n=3; n