]> diplodocus.org Git - nmh/blobdiff - uip/post.c
test-nocreate: Don't use run_test and run_prog together.
[nmh] / uip / post.c
index bf1c042db6276a058440936459f41e4138071c33..9940fa71f3e6700b07edf5479a969cb85bce0667 100644 (file)
@@ -1527,7 +1527,7 @@ find_prefix (void)
     if ((in = fopen (tmpfil, "r")) == NULL)
        adios (tmpfil, "unable to re-open");
 
-    while (fgets (buffer, sizeof(buffer) - 1, in))
+    while (fgets (buffer, sizeof buffer, in))
        if (buffer[0] == '-' && buffer[1] == '-') {
            char *cp;