-
-/*
- * folder_addmsg.c -- Link message into folder
+/* folder_addmsg.c -- Link message into folder
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
*/
if (msgnum > mp->hghoff) {
if (!(mp = folder_realloc (mp, mp->lowoff, msgnum + 100))) {
- advise (NULL, "unable to allocate folder storage");
+ inform("unable to allocate folder storage");
return -1;
}
*mpp = mp;
} else if (msgnum < mp->lowoff) {
if (!(mp = folder_realloc (mp, msgnum, mp->hghoff))) {
- advise (NULL, "unable to allocate folder storage");
+ inform("unable to allocate folder storage");
return -1;
}
*mpp = mp;
*/
if (linkerr == EXDEV || linkerr == EPERM) {
if (stat (newmsg, &st1) == 0) {
- advise (NULL, "message %s:%s already exists", mp->foldpath, newmsg);
+ inform("message %s:%s already exists", mp->foldpath, newmsg);
return -1;
}