TIP: Click on subject to list as thread! ANSI
echo: jamnntpd
to: Tommi Koivula
from: Carlos Navarro
date: 2024-02-05 09:10:00
subject: Test

04 Feb 2024 21:36, I wrote to you:

 CN> To prevent other potential problems, it is also convenient to do these
 CN> other modifications in nntpserv.c:
[...]

The last two I posted are wrong:

 CN> Change:
 CN>  strcpy(subject,&subject[4]);
 CN> to:
 CN>  memmove(subject,subject+4,strlen(subject)+3);

Should be:
 memmove(subject,subject+4,strlen(subject)-3);

 CN> And change:
 CN>  strcpy(text,&text[c]);
 CN> to:
 CN>  memmove(text,text+c,strlen(text)+c-1);

Should be:
 memmove(text,text+c,strlen(text)-c+1);

Sorry guys.

Carlos

--- GoldED+/W32-MSVC 1.1.5-b20180707
                                
* Origin: cyberiada (2:341/234.1)

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™.