char *msgs[MAXARGS], *vec[MAXARGS];
struct msgs *mp;
struct stat st;
- char *attach = (char *)0; /* header field name for attachments */
+ char *attach = NULL; /* header field name for attachments */
int attachformat = 0; /* mhbuild format specifier for attachments */
#ifdef UCI
FILE *fp;
argp = arguments;
vec[vecp++] = "-library";
- vec[vecp++] = getcpy(m_maildir(""));
+ vec[vecp++] = getcpy(toabsdir("+"));
while ((cp = *argp++)) {
if (*cp == '-') {
}
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
if (!msgp)
msgs[msgp++] = "cur";
- maildir = m_maildir(draftfolder);
+ maildir = toabsdir(draftfolder);
if (chdir(maildir) == NOTOK)
adios(maildir, "unable to change directory to");