projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split nmh dir into mmh dir (~/.mmh) and mail storage (~/Mail).
[mmh]
/
uip
/
send.c
diff --git
a/uip/send.c
b/uip/send.c
index
f777155
..
051e357
100644
(file)
--- a/
uip/send.c
+++ b/
uip/send.c
@@
-109,7
+109,7
@@
main(int argc, char **argv)
char *msgs[MAXARGS], *vec[MAXARGS];
struct msgs *mp;
struct stat st;
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;
int attachformat = 0; /* mhbuild format specifier for attachments */
#ifdef UCI
FILE *fp;
@@
-127,7
+127,7
@@
main(int argc, char **argv)
argp = arguments;
vec[vecp++] = "-library";
argp = arguments;
vec[vecp++] = "-library";
- vec[vecp++] = getcpy(m_maildir(""));
+ vec[vecp++] = getcpy(toabsdir("+"));
while ((cp = *argp++)) {
if (*cp == '-') {
while ((cp = *argp++)) {
if (*cp == '-') {
@@
-257,12
+257,9
@@
main(int argc, char **argv)
}
}
}
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
if (!msgp)
msgs[msgp++] = "cur";
if (!msgp)
msgs[msgp++] = "cur";
- maildir = m_maildir(draftfolder);
+ maildir = toabsdir(draftfolder);
if (chdir(maildir) == NOTOK)
adios(maildir, "unable to change directory to");
if (chdir(maildir) == NOTOK)
adios(maildir, "unable to change directory to");