]> diplodocus.org Git - nmh/blob - sbr/seq_setcur.c
Cope with sasl_decode64() returning SASL_CONTINUE as well as SASL_OK.
[nmh] / sbr / seq_setcur.c
1
2 /*
3 * seq_setcur.c -- set the current message ("cur" sequence) for a folder
4 *
5 * $Id$
6 *
7 * This code is Copyright (c) 2002, by the authors of nmh. See the
8 * COPYRIGHT file in the root directory of the nmh distribution for
9 * complete copyright information.
10 */
11
12 #include <h/mh.h>
13
14
15 void
16 seq_setcur (struct msgs *mp, int msgnum)
17 {
18 /*
19 * Just call seq_addmsg() to update the
20 * "cur" sequence.
21 */
22 seq_addmsg (mp, current, msgnum, -1, 1);
23 }