]> git.marmaro.de Git - mmh/blobdiff - sbr/m_mktemp.c
Removed the mhlproc profile entry. Call mhl directly.
[mmh] / sbr / m_mktemp.c
index 68f1a54e6146fcefb641f3a19b85bcb9b28e9d46..4c7703cd745d68b0c2aeedd4a0bd48253e73db34 100644 (file)
@@ -124,7 +124,7 @@ m_mktemp2(
                return m_mktemp(pfx_in, fd_ret, fp_ret);
        }
        n = (int)(cp-dir_in-1); /* Length of dir component */
-       snprintf(buffer, sizeof(buffer), "%.*s%s", n, dir_in, pfx_in);
+       snprintf(buffer, sizeof(buffer), "%.*s/%s", n, dir_in, pfx_in);
        return m_mktemp(buffer, fd_ret, fp_ret);
 }
 
@@ -144,5 +144,5 @@ get_temp_dir()
                tmpdir = getenv("TMP");
                if (tmpdir != NULL && *tmpdir != '\0') return tmpdir;
        }
-       return m_maildir("");
+       return toabsdir("+");
 }