]> diplodocus.org Git - nmh/blob - sbr/m_gmprot.c
ca48ac3334c7c8411bd82856c5855f814f9bafaf
[nmh] / 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 char *cp;
16
17 return atooi ((cp = context_find ("msg-protect")) && *cp ? cp : msgprot);
18 }