diff --git a/utils/mnetftn/mnettoftn.c b/utils/mnetftn/mnettoftn.c index 4a95a40..6d81aa2 100644 --- a/utils/mnetftn/mnettoftn.c +++ b/utils/mnetftn/mnettoftn.c @@ -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);