]> diplodocus.org Git - nmh/blobdiff - uip/scan.c
runpty.c: Replace fprintf()+exit() pairs with new die().
[nmh] / uip / scan.c
index b65fef7490e8dc68a825d5e37d08afd21754f53d..c9cf4ce3f7be671b4d2ad02727af4f1678b95b02 100644 (file)
 #include <h/scansbr.h>
 #include <h/tws.h>
 #include <h/mts.h>
+#include "h/done.h"
 #include <h/utils.h>
-#include "../sbr/m_maildir.h"
-#include "../sbr/terminal.h"
+#include "sbr/m_maildir.h"
+#include "sbr/terminal.h"
 
 #define SCAN_SWITCHES \
     X("clear", 0, CLRSW) \
@@ -221,7 +222,7 @@ main (int argc, char **argv)
            ivector_push_back (seqnum, seq_getnum (mp, *ap));
 
        num_unseen_seq = i;
-        mh_xfree(dp);
+        free(dp);
     }
 
     ontty = isatty (fileno (stdout));