* It's licensed under the GNU General Public License,
* please see the file GPL in the top level source directory.
*/
* It's licensed under the GNU General Public License,
* please see the file GPL in the top level source directory.
*/
char *p = strchr (*buf, '\0');
if (p[-1] == '\n' && p[-2] != '\r') {
char *p = strchr (*buf, '\0');
if (p[-1] == '\n' && p[-2] != '\r') {
return;
if (ascii_strncasecmp (DsnReturn, "hdrs", 4) == 0)
smtp_dsn_set_ret (message, Ret_HDRS);
return;
if (ascii_strncasecmp (DsnReturn, "hdrs", 4) == 0)
smtp_dsn_set_ret (message, Ret_HDRS);
int mutt_libesmtp_check_usetls (const char* option, unsigned long p,
char* errbuf, size_t errlen) {
char* val = (char*) p;
int mutt_libesmtp_check_usetls (const char* option, unsigned long p,
char* errbuf, size_t errlen) {
char* val = (char*) p;
return (1);
if (m_strncmp(val, "enabled", 7) != 0 &&
m_strncmp(val, "required", 8) != 0) {
return (1);
if (m_strncmp(val, "enabled", 7) != 0 &&
m_strncmp(val, "required", 8) != 0) {