Completely reworked the path convertion functions
[mmh] / uip / mhbuild.c
index 5055265..bf6f646 100644 (file)
@@ -283,7 +283,7 @@ main(int argc, char **argv)
        /* Check for private cache location */
        if (!(cache_private = context_find(nmhprivcache)))
                cache_private = ".cache";
-       cache_private = getcpy(m_maildir(cache_private));
+       cache_private = getcpy(toabsdir(cache_private));
 
        /*
        ** Check for storage directory.  If defined, we
@@ -293,7 +293,7 @@ main(int argc, char **argv)
        if ((cp = context_find(nmhstorage)) && *cp)
                tmp = concat(cp, "/", invo_name, NULL);
        else
-               tmp = add(m_maildir(invo_name), NULL);
+               tmp = getcpy(toabsdir(invo_name));
 
        /* Check if we have a file to process */
        if (!compfile)