X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fslocal.c;h=c8af725d8298da434f882c89bab3d450b627392d;hp=986583999aa763c247e09c5851eec44c98b602ad;hb=1e588a59440aa1bee55c8d6d69003059c1d2af97;hpb=e9f7cdfaf76a410bc663735484bee44806f32894 diff --git a/uip/slocal.c b/uip/slocal.c index 9865839..c8af725 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -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)) {