X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhbuild.c;h=63d7be2fcbaeb0384149d8beef34c9913056dcfd;hp=50552656712879c46c39b9bc3c490dc7cc33c726;hb=ffe93d6dc707aaf92529cefb38a1814956b48c9e;hpb=3d78b9c80a95f4e7885ed607018f9b1b9be559b4 diff --git a/uip/mhbuild.c b/uip/mhbuild.c index 5055265..63d7be2 100644 --- a/uip/mhbuild.c +++ b/uip/mhbuild.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -252,7 +251,7 @@ main(int argc, char **argv) set_endian(); - if ((cp = getenv("MM_NOASK")) && !strcmp(cp, "1")) + if ((cp = getenv("MM_NOASK")) && strcmp(cp, "1")==0) listsw = 0; /* @@ -283,7 +282,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 +292,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)