X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frefile.c;h=690b55b11d2f476a6416768efab68825872bd666;hb=5048c3273f8780b3d73e81d0ea5b434f53a83f9f;hp=f391f617f95bfd74fef6325e8bb2e22025887e4e;hpb=097c84b61603c4a4c5837f3dcc09c30a1e751702;p=mmh diff --git a/uip/refile.c b/uip/refile.c index f391f61..690b55b 100644 --- a/uip/refile.c +++ b/uip/refile.c @@ -128,10 +128,7 @@ main(int argc, char **argv) if (!(cp = *argp++) || *cp == '-') adios(NULL, "missing argument to %s", argp[-2]); - folder = path(*cp == '+' || *cp == '@' ? - cp + 1 : cp, - *cp != '@' ? - TFOLDER : TSUBCWF); + folder = pluspath(cp); continue; case FILESW: if (filep > NFOLDERS) @@ -163,8 +160,6 @@ main(int argc, char **argv) app_msgarg(&msgs, cp); } - if (!context_find("path")) - free(path("./", TFOLDER)); if (foldp == 0) adios(NULL, "no folder specified");