read the defaultfolder from the profile
[mmh] / sbr / context_read.c
index cfdcff2..51592a9 100644 (file)
@@ -137,7 +137,7 @@ context_read(void)
        /*
        ** Create the default folder (inbox)
        */
-       cp = toabsdir(defaultfolder);
+       cp = toabsdir(getdeffol());
        if (stat(cp, &st) == -1) {
                if (!makedir(cp)) {
                        adios(EX_CANTCREAT, cp, "Unable to create the default folder");