Patrik Rådman | 6 Aug 2002 07:49
Picon

Re: Date header

Ralph Corderoy <ralph <at> inputplus.co.uk> wrote:
> 
> > --- ../sn-0.3.5/snsend.c        Thu May 23 01:15:16 2002
> > +++ snsend.c    Tue Aug  6 01:25:56 2002
> >  <at>  <at>  -773,7 +771,7  <at>  <at> 
> >        memcpy(p, days[tmp->tm_wday], 3);
> >        appendhead("Date: ", sizeof ("Date: ") - 1);
> >        appendhead(p, strlen(p));
> > -      appendhead(" GMT\r\n", 6);
> > +      appendhead(" -0000\r\n", 6);
> >        LOG3("added Date to article \"%s\"", messageid);
> >     }
> 
> Assuming the second parameter is a byte count then it should have
> changed from 6.

Oops, it should be 8, of course. I was too tired to code, obviously. :)

--

-- 
  Patrik Rådman  ·  patrik at iki dot fi  ·  http://www.iki.fi/patrik/
                     "Now, where was I?"


Gmane