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)
|