]> diplodocus.org Git - nmh/blobdiff - uip/new.c
Shrink the static char[] for "%d" from 8KiB to just right.
[nmh] / uip / new.c
index 2304c1efebfab0691c3328950ff791c6ba37ca8a..dd173cc0b81165a259d5d1b768548fbf149433c3 100644 (file)
--- a/uip/new.c
+++ b/uip/new.c
@@ -280,7 +280,7 @@ check_folders(struct node **first, struct node **last,
        while (vfgets(fp, &line) == OK) {
            len = strlen(line) - 1;
            line[len] = '\0';
-           check_folder(getcpy(line), len, &b);
+           check_folder(mh_xstrdup(line), len, &b);
        }
        fclose(fp);
     }