Remember to fclose(nfp) as well

This commit is contained in:
sin 2014-02-04 14:33:24 +00:00
parent 4d8c3d4dc2
commit c2db1b9ec6

View File

@ -56,6 +56,7 @@ main(int argc, char *argv[])
}
uudecode(fp, nfp);
fclose(fp);
fclose(nfp);
}
if (fchmod(fileno(nfp), mode) < 0)
eprintf("chmod %s:", fname);