Remove tests/inc/test-eom-align
[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         char *cp;
16
17         if (!(cp = context_find("msg-protect")) || !*cp) {
18                 cp = msgprot;
19         }
20         return strtol(cp, NULL, 8);
21 }