X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fscansbr.c;h=865f2f72bbba8f6406e577a961e8e62ea9be8b20;hb=10e03b3fba3e01052baf92c963c46a2a5529b4e0;hp=56583f154765d782b7ba92843e6c8e345461f4a6;hpb=8589851acf19172bce7d6ecb44e3a4215beff3e5;p=mmh diff --git a/uip/scansbr.c b/uip/scansbr.c index 56583f1..865f2f7 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -18,13 +18,6 @@ # define _cnt _w /* Wretch */ #endif -#ifdef SCO_5_STDIO -# define _ptr __ptr -# define _cnt __cnt -# define _base __base -# define _filbuf(fp) ((fp)->__cnt = 0, __filbuf(fp)) -#endif - #define MAXSCANL 256 /* longest possible scan line */ /* @@ -74,8 +67,6 @@ scan(FILE *inb, int innum, int outnum, char *fmtstr, int width, int curflg, char *scnmsg = NULL; FILE *scnout = NULL; char name[NAMESZ]; - char returnpath[BUFSIZ]; - char deliverydate[BUFSIZ]; int incing = (outnum != SCN_MBOX && outnum != SCN_FOLD); int scanfolder = (outnum == SCN_FOLD); long fpos; @@ -150,17 +141,6 @@ scan(FILE *inb, int innum, int outnum, char *fmtstr, int width, int curflg, return SCNNUM; if (!(scnout = fopen(scnmsg, "w"))) adios(scnmsg, "unable to write"); - /* - ** Add the Return-Path and Delivery-Date - ** header fields to message. - */ - if (get_returnpath(returnpath, sizeof(returnpath), - deliverydate, sizeof(deliverydate))) { - FPUTS("Return-Path: "); - FPUTS(returnpath); - FPUTS("Delivery-Date: "); - FPUTS(deliverydate); - } } /* scan - main loop */