- folder = pluspath(draftfolder);
-
- chdir(m_maildir(""));
- strncpy(buffer, m_maildir(folder), sizeof(buffer));
-
- create_folder(buffer, 0, done);
-
- if (chdir(buffer) == -1)
- adios(buffer, "unable to change directory to");
-
- if (!(mp = folder_read(folder)))
+ folder = getcpy(toabsdir(draftfolder));
+ create_folder(folder, 0, done);
+ if (!(mp = folder_read(folder))) {