X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Fscansbr.c;h=4fa5a0d9be579a9bebcd37e2b6ba41caf03c1f1b;hb=2abb9a7cfb0930e27062088734d306e7d78e4cc2;hp=56583f154765d782b7ba92843e6c8e345461f4a6;hpb=8589851acf19172bce7d6ecb44e3a4215beff3e5;p=mmh diff --git a/uip/scansbr.c b/uip/scansbr.c index 56583f1..4fa5a0d 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -12,19 +12,14 @@ #include #include #include +#include +#include #ifdef _FSTDIO # define _ptr _p /* Gag */ # 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 +69,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 +143,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 */