]> diplodocus.org Git - nmh/blobdiff - uip/mhlist.c
runpty.c: Factor duplicate code into new open_master_pty().
[nmh] / uip / mhlist.c
index 93e2ea0ee75d8a9d1de3264321c6ee5251604cfb..aa304e6890965302b4e3e17e051440a762f0cae2 100644 (file)
@@ -14,6 +14,7 @@
 #include <h/mime.h>
 #include <h/mhparse.h>
 #include <h/mhcachesbr.h>
+#include "h/done.h"
 #include <h/utils.h>
 #include "mhmisc.h"
 #include "sbr/m_maildir.h"
@@ -79,7 +80,7 @@ main (int argc, char **argv)
 
     if (nmh_init(argv[0], 1)) { return 1; }
 
-    done=freects_done;
+    set_done(freects_done);
 
     arguments = getarguments (invo_name, argc, argv, 1);
     argp = arguments;