X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fslocal.c;h=c8af725d8298da434f882c89bab3d450b627392d;hb=7ffcbc3d01bb58a071d56f5e7379948c579f634a;hp=986583999aa763c247e09c5851eec44c98b602ad;hpb=4cdff8cfe893e7039b4ef8272ed66a8a05bc8e04;p=mmh 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)) {