Removed the mhlproc profile entry. Call mhl directly.
[mmh] / sbr / seq_del.c
index 92e2f1e..e342d1c 100644 (file)
@@ -33,7 +33,7 @@ seq_delsel(struct msgs *mp, char *cp, int public, int zero)
        ** Get the number for this sequence
        */
        for (i = 0; mp->msgattrs[i]; i++) {
-               if (!strcmp(mp->msgattrs[i], cp)) {
+               if (strcmp(mp->msgattrs[i], cp)==0) {
                        new_seq = 0;
                        break;
                }
@@ -119,7 +119,7 @@ seq_delmsg(struct msgs *mp, char *cp, int msgnum)
                return 0;
 
        for (i = 0; mp->msgattrs[i]; i++) {
-               if (!strcmp(mp->msgattrs[i], cp)) {
+               if (strcmp(mp->msgattrs[i], cp)==0) {
                        clear_sequence(mp, i, msgnum);
                        mp->msgflags |= SEQMOD;
                        return 1;