TIP: Click on subject to list as thread! ANSI
echo: jamnntpd
to: Carlos Navarro
from: Jay Harris
date: 2024-02-04 16:20:00
subject: Re: Test

On 2/4/24 8:36 PM, Carlos Navarro -> Tommi Koivula wrote:

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

 CN> Change every occurrence (there are 3) of:
 CN>   strcpy(article,&article[1]);
 CN> to:
 CN>   memmove(article,article+1,strlen(article));

 CN> Change:
 CN>   strcpy(from,&from[1]);
 CN> to:
 CN>   memmove(from,from+1,strlen(from));

 CN> Change:
 CN>   strcpy(subject,&subject[4]);
 CN> to:
 CN>   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);

 CN> Carlos
Thanks Carlos, I have these modifications in place here.  I'll let you know how it goes.


Jay

--- Mozilla Thunderbird
                                                                                               
* Origin: Northern Realms (1:229/664)

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