X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Ffolder_addmsg.c;h=f90cedfbae04504f4817e228a528a383dd7e0b6e;hp=1af116cb71fe580316ceb4543d060998c3ba0cfa;hb=30fd2ad6d3eff3749b2ae99ec90d2215bf1b1aca;hpb=853814d952958385f5d212d167dff4edd3802f3f diff --git a/sbr/folder_addmsg.c b/sbr/folder_addmsg.c index 1af116c..f90cedf 100644 --- a/sbr/folder_addmsg.c +++ b/sbr/folder_addmsg.c @@ -180,11 +180,11 @@ folder_addmsg (struct msgs **mpp, char *msgfile, int selected, */ if (linkerr == EXDEV) { if (stat (newmsg, &st1) == 0) { - advise (NULL, "message %s:%s already exists", newmsg); + advise (NULL, "message %s:%s already exists", mp->foldpath, newmsg); return -1; } else { if ((infd = open (msgfile, O_RDONLY)) == -1) { - advise (msgfile, "unable to open message %s"); + advise (msgfile, "unable to open message %s", msgfile); return -1; } fstat (infd, &st1);