X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/86921c91e7c4adb6d7dc7059ddc06b1a2f8886f8..94187a80bd60baab4b9c4b949ad820d730578123:/sbr/folder_addmsg.c diff --git a/sbr/folder_addmsg.c b/sbr/folder_addmsg.c index 806cf929..5a78a124 100644 --- a/sbr/folder_addmsg.c +++ b/sbr/folder_addmsg.c @@ -1,6 +1,4 @@ - -/* - * 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 @@ -52,13 +50,13 @@ folder_addmsg (struct msgs **mpp, char *msgfile, int selected, */ 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; @@ -165,7 +163,7 @@ folder_addmsg (struct msgs **mpp, char *msgfile, int selected, */ 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; }