From cde386219c31953507be4a0f1da545d589577bcf Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Tue, 18 Oct 2016 14:52:26 +0100 Subject: [PATCH] Replace getcpy() with mh_xstrdup() where the string isn't NULL. --- uip/scansbr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uip/scansbr.c b/uip/scansbr.c index c2ddf369..6033c3c1 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -86,7 +86,7 @@ scan (FILE *inb, int innum, int outnum, char *nfs, int width, int curflg, datecomp = fmt_findcomp("date"); cptr = fmt_findcomp("folder"); if (cptr && folder) - cptr->c_text = getcpy(folder); + cptr->c_text = mh_xstrdup(folder); if (fmt_addcompentry("encrypted")) { ncomps++; } -- 2.56.0