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