]> diplodocus.org Git - nmh/blob - sbr/m_gmprot.c
a36901434dd6691c5e7b0d7caa3c302e2e86a7e6
[nmh] / sbr / m_gmprot.c
1 /* m_gmprot.c -- return the msg-protect value
2 *
3 * This code is Copyright (c) 2002, by the authors of nmh. See the
4 * COPYRIGHT file in the root directory of the nmh distribution for
5 * complete copyright information.
6 */
7
8 #include "h/mh.h"
9 #include "atooi.h"
10
11
12 int
13 m_gmprot (void)
14 {
15 char *cp;
16
17 return atooi ((cp = context_find ("msg-protect")) && *cp ? cp : msgprot);
18 }