]> git.marmaro.de Git - mmh/blobdiff - uip/scansbr.c
Replaced mkinstalldirs with `mkdir -p'.
[mmh] / uip / scansbr.c
index 69f385abe7315cbcf2c7c0556564712ac6d0ed86..fdfe4cd75ab86ffbafd1b534aa702b1f3a18b4b5 100644 (file)
@@ -67,7 +67,7 @@ int sc_width(void);  /* from termsbr.c */
 #endif
 
 int
-scan(FILE *inb, int innum, int outnum, char *nfs, int width, int curflg,
+scan(FILE *inb, int innum, int outnum, char *fmtstr, int width, int curflg,
        int unseen)
 {
        int i, compnum, state;
@@ -101,7 +101,7 @@ scan(FILE *inb, int innum, int outnum, char *nfs, int width, int curflg,
                        umask(~m_gmprot());
 
                /* Compile format string */
-               ncomps = fmt_compile(nfs, &fmt) + 1;
+               ncomps = fmt_compile(fmtstr, &fmt) + 1;
 
                FINDCOMP(bodycomp, "body");
                FINDCOMP(datecomp, "date");
@@ -328,7 +328,7 @@ finished:
        if (bodycomp)
                bodycomp->c_text = saved_c_text;
 
-       if (nfs)
+       if (fmtstr)
                fputs(scanl, stdout);
 
        /* return dynamically allocated buffers to pool */