X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fm_draft.c;h=38584e4a451ba484d6438522edbe9ad15ebdeb58;hb=552fd7253e5ee9e554c5c7a8248a6322aa4363bb;hp=df767ef240058db5ab39666ac6ca8ad98d254391;hpb=8041c8a4001e576d7600efaaf6628a791263490d;p=mmh diff --git a/sbr/m_draft.c b/sbr/m_draft.c index df767ef..38584e4 100644 --- a/sbr/m_draft.c +++ b/sbr/m_draft.c @@ -22,10 +22,10 @@ m_draft(char *which) static char buffer[BUFSIZ]; char *folder; - folder = pluspath(draftfolder); + folder = getcpy(expandfol(draftfolder)); - chdir(m_maildir("")); - strncpy(buffer, m_maildir(folder), sizeof(buffer)); + chdir(toabsdir("+")); + strncpy(buffer, toabsdir(folder), sizeof(buffer)); create_folder(buffer, 0, done);