I'll get it eventually
This commit is contained in:
parent
d254c1eca9
commit
673e3f4423
@ -485,10 +485,10 @@ int import(char *filename) {
|
||||
|
||||
|
||||
for (i=strlen(body) -2; i > 0; i--) {
|
||||
if (strstr(&body[i], "\r---\r") != NULL) {
|
||||
sprintf(buffer, "\r---\r * Origin: mnet->ftn (%s)", fido_addr);
|
||||
if (body[i] == '\r') {
|
||||
sprintf(buffer, "\r * Origin: mnet->ftn (%s)\r", fido_addr);
|
||||
body = realloc(body, strlen(body) + strlen(buffer) + 1);
|
||||
strcat(&body[i], buffer);
|
||||
strcpy(&body[i], buffer);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user