X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frefile.c;h=f3c6d1f0ca27fc3315d2c1dac5cae159d240b6de;hb=7d327ff038f743228a91fd53fa4c8f47c5c44e96;hp=663092b933ee39281660d9196fb2caa1aed57332;hpb=a259594cc41e41bfbb90562d3977b8194d1446f5;p=mmh diff --git a/uip/refile.c b/uip/refile.c index 663092b..f3c6d1f 100644 --- a/uip/refile.c +++ b/uip/refile.c @@ -51,8 +51,6 @@ static struct swit switches[] = { { NULL, 0 } }; -extern int errno; - static char maildir[BUFSIZ]; struct st_fold { @@ -402,7 +400,7 @@ m_file (char *msgfile, struct st_fold *folders, int nfolders, int preserve, int struct st_fold *fp, *ep; for (fp = folders, ep = folders + nfolders; fp < ep; fp++) { - if ((msgnum = folder_addmsg (&fp->f_mp, msgfile, 1, 0, preserve, nfolders == 1 && refile)) == -1) + if ((msgnum = folder_addmsg (&fp->f_mp, msgfile, 1, 0, preserve, nfolders == 1 && refile, maildir)) == -1) return 1; } return 0;