diff --git a/src/bluewave.c b/src/bluewave.c index 0bc5b72..d59c863 100644 --- a/src/bluewave.c +++ b/src/bluewave.c @@ -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); }