** Annotate original message, and
** call `postproc' to send message.
*/
-
static int
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)
{
advise(NULL, "unable to fork, so doing annotations by hand...");
if (cwd == NULL)
cwd = getcpy(pwd());
+ /* fall */
case OK:
/* block a few signals */
&& (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);
return 1;
}
+ /* some different sendproc */
+
context_save(); /* save the context file */
fflush(stdout);
switch (child_id) {
case NOTOK:
advise(NULL, "unable to fork, so sending directly...");
+ /* fall */
case OK:
vecp = 0;
vec[vecp++] = invo_name;
** Merge any arguments from command line (now in vec)
** and arguments from profile.
*/
- arguments = getarguments (sp, n, vec, 1);
+ arguments = getarguments(sp, n, vec, 1);
argp = arguments;
debugsw = 0;