*/
void
-seq_setunseen (struct msgs *mp, int seen)
+seq_setunseen(struct msgs *mp, int seen)
{
int msgnum;
char **ap, *cp, *dp;
** Get the list of sequences for Unseen-Sequence
** and split them.
*/
- if ((cp = context_find (usequence))) {
- dp = getcpy (cp);
- if (!(ap = brkstring (dp, " ", "\n")) || !*ap) {
- free (dp);
+ if ((cp = context_find(usequence))) {
+ dp = getcpy(cp);
+ if (!(ap = brkstring(dp, " ", "\n")) || !*ap) {
+ free(dp);
return;
}
} else {
/* make sure sequence exists first */
if (seq_getnum(mp, *ap) != -1)
for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++)
- if (is_unseen (mp, msgnum))
- seq_delmsg (mp, *ap, msgnum);
+ if (is_unseen(mp, msgnum))
+ seq_delmsg(mp, *ap, msgnum);
} else {
for (msgnum = mp->lowmsg; msgnum <= mp->hghmsg; msgnum++)
- if (is_unseen (mp, msgnum))
- seq_addmsg (mp, *ap, msgnum, -1, 0);
+ if (is_unseen(mp, msgnum))
+ seq_addmsg(mp, *ap, msgnum, -1, 0);
}
}
- free (dp);
+ free(dp);
}