Removed the configuration option NOPUBLICSEQ.
[mmh] / sbr / seq_read.c
index 141c1a2..3b7b50f 100644 (file)
@@ -60,10 +60,8 @@ seq_public(struct msgs *mp)
        FILE *fp;
 
        /*
-       ** If mh_seq == NULL (such as if nmh been compiled with
-       ** NOPUBLICSEQ), or if *mh_seq == '\0' (the user has defined
-       ** the "mh-sequences" profile entry, but left it empty),
-       ** then just return, and do not initialize any public sequences.
+       ** If public sequences are disabled (e.g. the user has defined
+       ** an empty `Mh-Sequences' profile entry), then just return.
        */
        if (mh_seq == NULL || *mh_seq == '\0')
                return;
@@ -131,7 +129,7 @@ seq_private(struct msgs *mp)
        plen = strlen(mp->foldpath) + 1;
 
        for (np = m_defs; np; np = np->n_next) {
-               if (ssequal("atr-", np->n_name)
+               if (isprefix("atr-", np->n_name)
                                && (j = strlen(np->n_name) - plen) > alen
                                && *(np->n_name + j) == '-'
                                && strcmp(mp->foldpath, np->n_name + j + 1)