9c86e77eb2bdab6ffbeb349a5747504054ad40a8
[mmh] / sbr / m_gmprot.c
1 /*
2 ** m_gmprot.c -- return the msg-protect value
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 int
13 m_gmprot(void)
14 {
15         register char *cp;
16
17         return atooi ((cp = context_find("msg-protect")) && *cp ? cp : msgprot);
18 }