Fix unreproducible build
[mmh] / sbr / seq_setcur.c
1 /*
2 ** seq_setcur.c -- set the current message (cur sequence) for a folder
3 **
4 ** This code is Copyright (c) 2002, by the authors of nmh.  See the
5 ** COPYRIGHT file in the root directory of the nmh distribution for
6 ** complete copyright information.
7 */
8
9 #include <h/mh.h>
10
11
12 void
13 seq_setcur(struct msgs *mp, int msgnum)
14 {
15         /* Just call seq_addmsg() to update the cur sequence. */
16         seq_addmsg(mp, seq_cur, msgnum, -1, 1);
17 }