couple of minor fixes

This commit is contained in:
Andrew Pamment 2018-10-15 10:31:28 +10:00
parent 9bfc4ffbe5
commit 9d728d9a29

View File

@ -216,11 +216,11 @@ int bwave_scan_area(int confr, int area, int areano, int totmsgs, FILE *fti_file
if (msghs->msgs[k]->to != NULL) {
strlcpy(fti.to, msghs->msgs[k]->to, sizeof fti.to);
} else {
strlcpy(fti.to, "(Missing To)", sizeof sti.to);
strlcpy(fti.to, "(Missing To)", sizeof fti.to);
}
if (msghs->msgs[k]->subject != NULL) {
strlcpy(fti.subject, msghs->msgs[k]->subject, fti.subject);
strlcpy(fti.subject, msghs->msgs[k]->subject, sizeof fti.subject);
} else {
strlcpy(fti.subject, "(Missing Subject)", sizeof fti.subject);
}