]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/sbr/m_gmprot.c
Always check that mktemp()/mktemp2() succeeds before trying to
[nmh] / docs / historical / mh-6.8.5 / sbr / m_gmprot.c
1 /* m_gmprot.c - return the msg-protect value */
2
3 #include "../h/mh.h"
4 #include <stdio.h>
5
6
7 m_gmprot () {
8 register char *cp;
9
10 return atooi ((cp = m_find ("msg-protect")) && *cp ? cp : msgprot);
11 }