]> diplodocus.org Git - nmh/blobdiff - uip/mhn.c
mhshow/test-charset: Use octal, not hex, in printf(1) format string.
[nmh] / uip / mhn.c
index 710348853b4ef40c4268dd7c576bcc19b85c135f..94f25ace77dc7461eade1aa6ee954db0225d467d 100644 (file)
--- a/uip/mhn.c
+++ b/uip/mhn.c
@@ -15,6 +15,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"
@@ -118,7 +119,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;