[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev work around for lynx email problem
From: |
Bela Lubkin |
Subject: |
Re: lynx-dev work around for lynx email problem |
Date: |
Mon, 27 Jul 1998 17:05:53 -0700 |
Larry W. Virden wrote:
> This was an easy fix - perhaps TD will want to fix it 'better'...
>
> *** LYMail.c-dist Mon Jul 27 17:37:42 1998
> --- LYMail.c Mon Jul 27 17:37:49 1998
> ***************
> *** 1253,1259 ****
> StrAllocCat(header, address);
> }
> StrAllocCat(header, buf);
> ! sprintf(buf, "X-Mailer: Lynx, Version %s\n", LYNX_VERSION);
> StrAllocCat(header, buf);
> #endif /* VMS */
>
> --- 1253,1259 ----
> StrAllocCat(header, address);
> }
> StrAllocCat(header, buf);
> ! sprintf(buf, "\nX-Mailer: Lynx, Version %s\n", LYNX_VERSION);
> StrAllocCat(header, buf);
> #endif /* VMS */
I should finish reading the mailbox before replying. ;-}
Almost right. This still gives you the uselessly doubled Content-Type:
header. The "StrAllocCat(header, buf);" before the sprintf() you
changed is spurious. An editing mistake when I was fixing the buffer
overflows that could be provoked by excessively long "mailto:" URLs.
>Bela<