🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by John E. Davis Wed, 29 Apr 1998 00:00
Re: slrn 0.9.5.1 header wrap bug?
#40479
Author: John E. Davis
Date: Wed, 29 Apr 1998 00:00
29 lines
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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads