From 9d728d9a29f29a85edd471dea46928f2d9a42d36 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Mon, 15 Oct 2018 10:31:28 +1000 Subject: [PATCH] couple of minor fixes --- src/bluewave.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }