]> diplodocus.org Git - nmh/blobdiff - sbr/seq_add.c
fmtdump.c, fmttest.c: Remove tests for FT_LIT_FORCE.
[nmh] / sbr / seq_add.c
index 47085f88f9ec61e88e50066b28a40be496d6472c..eb51e92790b4712d523bb578a173f2652c84af02 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * seq_add.c -- add message(s) to a sequence
+/* seq_add.c -- add message(s) to a sequence
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -53,7 +51,7 @@ seq_addsel (struct msgs *mp, char *cp, int public, int zero)
      */
     if (new_seq) {
        if (!(svector_push_back (mp->msgattrs, strdup (cp)))) {
-           advise (NULL, "strdup failed");
+           inform("strdup failed");
            return 0;
        }
     }
@@ -140,7 +138,7 @@ seq_addmsg (struct msgs *mp, char *cp, int msgnum, int public, int zero)
      */
     if (new_seq) {
        if (!(svector_push_back (mp->msgattrs, strdup (cp)))) {
-           advise (NULL, "strdup failed");
+           inform("strdup failed");
            return 0;
        }
     }