git.schokokeks.org
Repositories
Help
Report an Issue
keks-overlay.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
789ce89
Branches
Tags
master
keks-overlay.git
app-admin
monit
files
monit-crlf.diff
crlf patch for monit
Hanno Böck
commited
789ce89
at 2014-07-25 12:44:34
monit-crlf.diff
Blame
History
Raw
From 55d167d0289f1e3c9a7b285ac4633e6456f2e7f7 Mon Sep 17 00:00:00 2001 From: tildeslash <info@tildeslash.com> Date: Tue, 22 Jul 2014 16:02:35 +0200 Subject: [PATCH] Issue #70 --- src/alert.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/alert.c b/src/alert.c index 57426ca..bd92117 100644 --- a/src/alert.c +++ b/src/alert.c @@ -254,4 +254,6 @@ static void escape(Mail_T m) { Util_replaceString(&m->message, "\n", "\r\n"); // escape ^. Util_replaceString(&m->message, "\n.", "\n.."); + // drop any CR|LF from the subject + Str_chomp(m->subject); } -- 1.8.5.2