s/nfs/fmtstr/
[mmh] / uip / forw.c
index b9c3c14..031c191 100644 (file)
@@ -73,7 +73,7 @@ main(int argc, char **argv)
        char *folder = NULL;
        char *form = NULL, buf[BUFSIZ], value[10];
        char **argp, **arguments, *msgs[MAXARGS];
-       char *nfs;
+       char *fmtstr;
 
 #ifdef MHE
        int buildsw = 0;
@@ -237,8 +237,8 @@ main(int argc, char **argv)
                cpydata(in, out, form, drft);
                close(in);
        } else {
-               nfs = new_fs(form, forwcomps);
-               if (write(out, nfs, strlen(nfs)) != strlen(nfs)) {
+               fmtstr = new_fs(form, forwcomps);
+               if (write(out, fmtstr, strlen(fmtstr)) != strlen(fmtstr)) {
                        adios(drft, "error writing");
                }
        }
@@ -297,7 +297,7 @@ build_form(char *form, char *digest, int volume, int issue)
 {
        int in;
        int fmtsize;
-       register char *nfs;
+       register char *fmtstr;
        char *line, tmpfil[BUFSIZ];
        FILE *tmp;
        register struct comp *cptr;
@@ -306,11 +306,11 @@ build_form(char *form, char *digest, int volume, int issue)
        char *cp = NULL;
 
        /* Get new format string */
-       nfs = new_fs(form, NULL);
-       fmtsize = strlen(nfs) + 256;
+       fmtstr = new_fs(form, NULL);
+       fmtsize = strlen(fmtstr) + 256;
 
        /* Compile format string */
-       fmt_compile(nfs, &fmt);
+       fmt_compile(fmtstr, &fmt);
 
        FINDCOMP(cptr, "digest");
        if (cptr)