]> diplodocus.org Git - nmh/blobdiff - sbr/folder_pack.c
base64.c: Don't out-of-bounds printf("%s", &encoded[-1]).
[nmh] / sbr / folder_pack.c
index b0bc67b3b249907c4e1ed1ebfc71bf354ea980a3..82a366c88b95caeac7d5333788ec75dc92d32d30 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * folder_pack.c -- pack (renumber) the messages in a folder
+/* folder_pack.c -- pack (renumber) the messages in a folder
  *               -- into a contiguous range from 1 to n.
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
@@ -38,7 +36,7 @@ folder_pack (struct msgs **mpp, int verbose)
        if ((mp = folder_realloc (mp, 1, mp->hghmsg)))
            *mpp = mp;
        else {
-           advise (NULL, "unable to allocate folder storage");
+           inform("unable to allocate folder storage");
            return -1;
        }
     }