TIP: Click on subject to list as thread! ANSI
echo: jamnntpd
to: Carlos Navarro
from: Nicholas Boel
date: 2024-02-23 16:57:00
subject: Test

Hello Carlos,

On Mon, 5 Feb 2024 03:36:48 +0100, you wrote:

 CN> 27 Jan 2024 20:23:35 +0100 Carlos Navarro -> Tommi Koivula:

 CN>> This may be a possible way to fix the corrupted From field in headers:
 CN>> in nntpserv.c, instead of just removing this line:

 CN>>   strcpy(mimefrom,&mimefrom[6]);

 CN>> Replace it by:

 CN>>   memmove(mimefrom,mimefrom+6,strlen(mimefrom)-5);

 CN>> There could also be issues with the Subject field. The next line:

 CN>>   strcpy(mimesubj,&mimesubj[9]);

 CN>> could be changed to:

 CN>>   memmove(mimesubj,mimesubj+9,strlen(mimesubj)-8);

 CN>> As for the corruption in the body of messages posted with newsreaders
 CN>> that support flowed text (like Thunderbird), I think it may be fixed by
 CN>> changing this:

 CN>>   strcpy(line,&line[1]);

 CN>> to this:

 CN>>   memmove(line,line+1,strlen(line));

 CN>> These patches are for both JamNNTPd and SmapiNNTPd.

Another reply to the same message, with another utf-8 editor. Does this one look
better to you Wilfred and Tommi?

Regards,
Nick

... Take my advice, I don't use it anyway.
--- slrn/pre1.0.4-9 (Linux)
                                                                                                       
* Origin: _thePharcyde distribution system (Wisconsin) (1:154/10)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.