Another try
This commit is contained in:
parent
43c4400294
commit
cff27d7ae1
@ -485,7 +485,8 @@ int import(char *filename) {
|
||||
|
||||
|
||||
for (i=strlen(body) -2; i > 0; i--) {
|
||||
if (body[i] == '\r') {
|
||||
|
||||
if (strstr(&body[i], "\r---\r") != NULL) {
|
||||
sprintf(buffer, "\r---\r * Origin: mnet->ftn (%s)", fido_addr);
|
||||
body = realloc(body, strlen(body) + strlen(buffer) + 1);
|
||||
strcat(&body[i], buffer);
|
||||
|
Reference in New Issue
Block a user