X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fscansbr.c;h=be68bf89162fb5c7c53ee761adaa7d8f10bcc623;hp=76e87dcfc4faabf3cd782747b3ce24d12d763669;hb=cafee7a804b8aa53166065e988ec0fc387862fc8;hpb=aae44c933a5b035e0b23abf4dd4247cd37e4d041 diff --git a/uip/scansbr.c b/uip/scansbr.c index 76e87dc..be68bf8 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -3,13 +3,17 @@ * scansbr.c -- routines to help scan along... * * $Id$ + * + * This code is Copyright (c) 2002, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #include #include #include #include -#include +#include #ifdef _FSTDIO # define _ptr _p /* Gag */ @@ -327,9 +331,9 @@ finished: if (datecomp->c_tws == NULL) adios (NULL, "unable to allocate tws buffer"); *datecomp->c_tws = *dlocaltime ((time_t *) &st.st_mtime); - datecomp->c_flags = -1; + datecomp->c_flags |= CF_DATEFAB|CF_TRUE; } else { - datecomp->c_flags = 0; + datecomp->c_flags &= ~CF_DATEFAB; } } }