X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Ffolder_addmsg.c;h=f90cedfbae04504f4817e228a528a383dd7e0b6e;hb=c79c37f2b6e647212c36b63841a4628af01c774a;hp=1af116cb71fe580316ceb4543d060998c3ba0cfa;hpb=a753601a3811c10e433dbb04d8211a3df4b99012;p=mmh 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);