X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fsendsbr.c;fp=uip%2Fsendsbr.c;h=029ccb75007875331abb0c4b8773f9fd7e242cc4;hp=f8b415cb12dd692a7ee577934202bf8a9106f69d;hb=946f59629730dd1683f54d7171ee381208ebe9f0;hpb=3baec236a39c5c89a9bda8dbd988d643a21decc6 diff --git a/uip/sendsbr.c b/uip/sendsbr.c index f8b415c..029ccb7 100644 --- a/uip/sendsbr.c +++ b/uip/sendsbr.c @@ -414,7 +414,6 @@ make_mime_composition_file_entry(char *file_name) ** Annotate original message, and ** call `postproc' to send message. */ - static int sendaux(char **vec, int vecp, char *drft, struct stat *st) { @@ -499,7 +498,6 @@ sendaux(char **vec, int vecp, char *drft, struct stat *st) ** Mail error notification (and possibly a copy of the ** message) back to the user, using the mailproc */ - static void alert(char *file, int out) { @@ -601,6 +599,7 @@ anno(int fd, struct stat *st) advise(NULL, "unable to fork, so doing annotations by hand..."); if (cwd == NULL) cwd = getcpy(pwd()); + /* fall */ case OK: /* block a few signals */ @@ -672,8 +671,7 @@ annoaux(int fd) && (fd2 = dup(fileno(stderr))) != NOTOK) { dup2(fd3, fileno(stderr)); close(fd3); - } - else + } else fd2 = NOTOK; for (ap = brkstring(cp = getcpy(cp), " ", NULL); *ap; ap++) m_convert(mp, *ap);