X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fslocal.c;h=c8af725d8298da434f882c89bab3d450b627392d;hb=1e588a59440aa1bee55c8d6d69003059c1d2af97;hp=608ddf29f514468615a2fdf35350b891a98b08da;hpb=5f08476e3bc5c134ce57d924b01d1c1fcacd53db;p=mmh diff --git a/uip/slocal.c b/uip/slocal.c index 608ddf2..c8af725 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -1164,7 +1164,7 @@ usr_pipe(int fd, char *cmd, char *pgm, char **vec, int suppress) ** Ruthlessly kill the child and anything ** else in its process group. */ - KILLPG(child_id, SIGKILL); + kill(-child_id, SIGKILL); if (verbose) verbose_printf(", timed-out; terminated\n"); return -1; @@ -1322,27 +1322,12 @@ you_lose: if (first) { first = 0; if (strncmp(buffer, "From ", i)==0) { - char *fp, *cp; /* ** get copy of envelope information ** ("From " line) */ envelope = getcpy(buffer); - /* - ** Now create a "Return-Path:" line - ** from the "From " line. - */ - cp = strchr(fp = envelope + i, ' '); - snprintf(buffer, sizeof(buffer), - "Return-Path: %.*s\n", - (int)(cp - fp), fp); - - /* Add Return-Path header to message */ - fputs(buffer, ffp); - if (ferror(ffp)) { - goto fputs_error; - } /* Put the delivery date in message */ fputs(ddate, ffp); if (ferror(ffp)) {