projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renames: s/+outbox/+sent/ and s/cc:/Cc:/
[mmh]
/
uip
/
burst.c
diff --git
a/uip/burst.c
b/uip/burst.c
index
44f6bfe
..
0e7c53a
100644
(file)
--- a/
uip/burst.c
+++ b/
uip/burst.c
@@
-107,7
+107,7
@@
main(int argc, char **argv)
if (folder)
adios(NULL, "only one folder at a time!");
else
if (folder)
adios(NULL, "only one folder at a time!");
else
- folder = pluspath(cp);
+ folder = getcpy(expandfol(cp));
} else {
msgs[msgp++] = cp;
}
} else {
msgs[msgp++] = cp;
}
@@
-116,8
+116,8
@@
main(int argc, char **argv)
if (!msgp)
msgs[msgp++] = "cur";
if (!folder)
if (!msgp)
msgs[msgp++] = "cur";
if (!folder)
- folder = getfolder(FCUR);
- maildir = m_maildir(folder);
+ folder = getcurfol();
+ maildir = toabsdir(folder);
if (chdir(maildir) == NOTOK)
adios(maildir, "unable to change directory to");
if (chdir(maildir) == NOTOK)
adios(maildir, "unable to change directory to");
@@
-162,7
+162,7
@@
main(int argc, char **argv)
}
free((char *) smsgs);
}
free((char *) smsgs);
- context_replace(pfolder, folder); /* update current folder */
+ context_replace(curfolder, folder); /* update current folder */
/*
** If -inplace is given, then the first message burst becomes
/*
** If -inplace is given, then the first message burst becomes
@@
-363,14
+363,14
@@
burst(struct msgs **mpp, int msgnum, struct smsg *smsgs, int numburst,
if (rename(f1, f3) == NOTOK)
admonish(f3, "unable to rename %s to", f1);
if (rename(f1, f3) == NOTOK)
admonish(f3, "unable to rename %s to", f1);
- (void)snprintf(f3, sizeof (f3), "%s/%d", maildir, i);
- ext_hook("del-hook", f3, (char *)0);
+ snprintf(f3, sizeof (f3), "%s/%d", maildir, i);
+ ext_hook("del-hook", f3, NULL);
}
if (rename(f2, f1) == NOTOK)
admonish(f1, "unable to rename %s to", f2);
}
if (rename(f2, f1) == NOTOK)
admonish(f1, "unable to rename %s to", f2);
- (void)snprintf(f3, sizeof (f3), "%s/%d", maildir, i);
- ext_hook("add-hook", f3, (char *)0);
+ snprintf(f3, sizeof (f3), "%s/%d", maildir, i);
+ ext_hook("add-hook", f3, NULL);
copy_msg_flags(mp, i, msgnum);
mp->msgflags |= SEQMOD;
copy_msg_flags(mp, i, msgnum);
mp->msgflags |= SEQMOD;