]> diplodocus.org Git - nmh/blob - sbr/m_gmprot.c
Cope with sasl_decode64() returning SASL_CONTINUE as well as SASL_OK.
[nmh] / sbr / m_gmprot.c
1
2 /*
3 * m_gmprot.c -- return the msg-protect value
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 int
16 m_gmprot (void)
17 {
18 register char *cp;
19
20 return atooi ((cp = context_find ("msg-protect")) && *cp ? cp : msgprot);
21 }