]> diplodocus.org Git - nmh/blobdiff - uip/mhn.c
Replaced use of mkstemp() with m_mktemp2() in header_fd() of
[nmh] / uip / mhn.c
index b2db30705c2ae8a388be65696a382b0d15f064e8..49c784b9f19761bb5a589ce4c865db8bfb6e18d1 100644 (file)
--- a/uip/mhn.c
+++ b/uip/mhn.c
@@ -77,9 +77,6 @@ DEFINE_SWITCH_ARRAY(MHN, switches);
 #undef X
 
 
-/* mhparse.c */
-extern char *tmp;      /* directory to place temp files */
-
 /* mhcachesbr.c */
 extern int rcachesw;
 extern int wcachesw;
@@ -413,16 +410,6 @@ do_cache:
      */
     cwd = getcpy (pwd());
 
-    /*
-     * Check for storage directory.  If specified,
-     * then store temporary files there.  Else we
-     * store them in standard nmh directory.
-     */
-    if ((cp = context_find (nmhstorage)) && *cp)
-       tmp = concat (cp, "/", invo_name, NULL);
-    else
-       tmp = add (m_maildir (invo_name), NULL);
-
     if (!context_find ("path"))
        free (path ("./", TFOLDER));