]> diplodocus.org Git - nmh/blobdiff - uip/packf.c
Replace `if (p) free(p)' with `mh_xfree(p)'.
[nmh] / uip / packf.c
index 30f0f484059cd234f81e8e8129f9a9805040d836..d8e037db3d17bfecb862dd9e087f0d378363c526 100644 (file)
@@ -111,7 +111,7 @@ main (int argc, char **argv)
        if (errno != ENOENT)
            adios (file, "error on file");
        cp = concat ("Create file \"", file, "\"? ", NULL);
-       if (!getanswer (cp))
+       if (!read_yes_or_no_if_tty (cp))
            done (1);
        free (cp);
     }