X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fburst.c;h=ec507086950143c48043ed78862dcebd9ff5af5e;hb=552fd7253e5ee9e554c5c7a8248a6322aa4363bb;hp=44f6bfe94e4b7b7e54ef17a0d4f5b2b32264e9a5;hpb=3d78b9c80a95f4e7885ed607018f9b1b9be559b4;p=mmh diff --git a/uip/burst.c b/uip/burst.c index 44f6bfe..ec50708 100644 --- 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 - folder = pluspath(cp); + folder = getcpy(expandfol(cp)); } else { msgs[msgp++] = cp; } @@ -116,8 +116,8 @@ main(int argc, char **argv) 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"); @@ -162,7 +162,7 @@ main(int argc, char **argv) } 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