From 4b21465614a46b12dd061a0d97dc0f7f550e99c9 Mon Sep 17 00:00:00 2001
From: Stephan Bosch <stephan@rename-it.nl>
Date: Wed, 29 Oct 2008 23:49:47 +0100
Subject: [PATCH] Now using folder name as specified by user in log messages in
 stead of internal representation.

---
 src/lib-sieve/sieve-actions.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/lib-sieve/sieve-actions.c b/src/lib-sieve/sieve-actions.c
index bdf21953f..246239507 100644
--- a/src/lib-sieve/sieve-actions.c
+++ b/src/lib-sieve/sieve-actions.c
@@ -306,10 +306,7 @@ static void act_store_log_status
 {
 	const char *mailbox_name;
 	
-	if ( trans->box == NULL )
-		mailbox_name = str_sanitize(trans->context->folder, 128);
-	else
-		mailbox_name = str_sanitize(mailbox_get_name(trans->box), 128);
+	mailbox_name = str_sanitize(trans->context->folder, 128);
 
 	if ( trans->namespace == NULL ) {
 		if ( aenv->scriptenv->namespaces == NULL )
-- 
GitLab