X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fforw.c;h=031c191b5d87f2fe8a44b8108ea88f137bb1d757;hp=b9c3c144ceac283f05c8146d7ca4f33ee5e16b7e;hb=43ea5347b6b445d926082d6e3c1ddec376e8692d;hpb=6b80b3bb772e2cf9186cf964bf78109b677e1bef diff --git a/uip/forw.c b/uip/forw.c index b9c3c14..031c191 100644 --- a/uip/forw.c +++ b/uip/forw.c @@ -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)