X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Ffolder_addmsg.c;h=52baa7ae3b9a94c77dde65f9308a99d8ac807cde;hb=c05210483d82bf5f3786725ff80e12444088a701;hp=1af116cb71fe580316ceb4543d060998c3ba0cfa;hpb=a753601a3811c10e433dbb04d8211a3df4b99012;p=mmh diff --git a/sbr/folder_addmsg.c b/sbr/folder_addmsg.c index 1af116c..52baa7a 100644 --- a/sbr/folder_addmsg.c +++ b/sbr/folder_addmsg.c @@ -2,8 +2,6 @@ /* * folder_addmsg.c -- Link message into folder * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -180,11 +178,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);