- mp->msgattrs[i + 1] = NULL;
- }
-
- /*
- * If sequence is new, or zero flag is set, then first
- * clear the bit for this sequence from all messages.
- */
- if (new_seq || zero) {
- for (j = mp->lowmsg; j <= mp->hghmsg; j++)
- clear_sequence (mp, i, j);
- }
-
- /*
- * Now flip on the bit for this sequence
- * for this particular message.
- */
- add_sequence (mp, i, msgnum);
-
- /*
- * Set the public/private bit for this sequence.
- */
- if (public == 1)
- make_seq_public (mp, i);
- else if (public == 0)
- make_seq_private (mp, i);
- else if (new_seq) {
- /*
- * If public == -1, then only set the
- * public/private bit for new sequences.
- */
- if (is_readonly (mp))
- make_seq_private (mp, i);
- else
- make_seq_public (mp, i);
- }
-
- mp->msgflags |= SEQMOD;
- return 1;
+
+ /* Set the bit for this sequence for this particular message. */
+ add_sequence(mp, i, msgnum);
+
+ /* Set the public/private bit for this sequence. */
+ if (public == 1)
+ make_seq_public(mp, i);
+ else if (public == 0)
+ make_seq_private(mp, i);
+ else if (new_seq) {
+ /*
+ ** If public == -1, then only set the
+ ** public/private bit for new sequences.
+ */
+ if (is_readonly(mp))
+ make_seq_private(mp, i);
+ else
+ make_seq_public(mp, i);
+ }
+
+ mp->msgflags |= SEQMOD;
+ return 1;