From 57e451a7c8d8ee66f32c25f19ceac6bac806cd4e Mon Sep 17 00:00:00 2001
From: Bron Gondwana <brong@launde.home.brong.net>
Date: Wed, 24 Dec 2008 23:27:25 +1100
Subject: [PATCH] Remove sieve action string

We use sieve to forward messages to a notification
daemon which can send SMSes, and we don't want them
filled with information about the actions which
Sieve took.

This patch stops the action_string being appended to
the message sent to the notify daemon.
---
 script.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/script.c b/script.c
index 5d08c78..ca9f982 100644
--- a/script.c
+++ b/script.c
@@ -452,11 +452,11 @@ static int send_notify_callback(sieve_interp_t *interp,
     build_notify_message(interp, body_cache, notify->message, message_context, 
 			 &out_msg, &out_msglen);
 
-    build_msg = xmalloc(out_msglen + strlen(actions_string) + 30);
+    build_msg = xmalloc(out_msglen + /*strlen(actions_string)*/ + 30);
 
     strcpy(build_msg, out_msg);
-    strcat(build_msg, "\n\n");
-    strcat(build_msg, actions_string);
+    //strcat(build_msg, "\n\n");
+    //strcat(build_msg, actions_string);
 
     nc.message = build_msg;
 
-- 
1.5.6.5

