view sbr/m_gmprot.c @ 7:c20e4181370f

utf-8 input assumption in case of base64/utf-8
author kono
date Sun, 04 Dec 2005 02:30:39 +0900
parents bce86c4163a3
children
line wrap: on
line source

/* m_gmprot.c - return the msg-protect value */

#include "../h/mh.h"
#include <stdio.h>


m_gmprot () {
    register char  *cp;

    return atooi ((cp = m_find ("msg-protect")) && *cp ? cp : msgprot);
}