Article View: news.software.readers
Article #40479Re: slrn 0.9.5.1 header wrap bug?
From: John E. Davis
Date: Wed, 29 Apr 1998 00:00
Date: Wed, 29 Apr 1998 00:00
29 lines
1558 bytes
1558 bytes
On 28 Apr 1998 15:30:01 -0700, E. <erisson@sw-tech.com>
wrote:
>When headers are wrapped, and you follow up, headers in the followup get
>truncated where they're wrapped. If you have a long Message-ID, you can
>possibly get a followup with no references.
Try the following patch (to the slrn_extract_header function):
diff -u art.c~ art.c
--- art.c~ Fri Apr 24 14:29:49 1998
+++ art.c Wed Apr 29 01:02:42 1998
@@ -871,6 +871,9 @@
if (Slrn_Current_Header == NULL)
return NULL;
+ if ((len > 2) && (hdr[len-1] == ' ') && (hdr[len-2] == ':'))
+ len--;
+
if (Slrn_Current_Header != Header_Showing)
{
if (0 == slrn_case_strncmp ((unsigned char *)"From: ", (unsigned char *)hdr, len))
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 One Hampshire St., Building NE80-6019
http://space.mit.edu/~davis Cambridge, MA 02139-4307
Technical Details
Message-ID:
<slrn6kdd8t.fsd.davis@aluche.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn6kcm37.364.erisson@kallisti.sw-tech.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn6kdd8t.fsd.davis@aluche.mit.edu> Subject: Re: slrn 0.9.5.1 header wrap bug? Date: Wed, 29 Apr 1998 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn6kcm37.364.erisson@kallisti.sw-tech.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 348706757 Reply-To: davis@space.mit.edu Organization: Center for Space Research Newsgroups: news.software.readers