1 |
dertobi123 09/09/03 17:53:46 |
2 |
|
3 |
Added: cyrus-imapd-2.3.14-bug283596.patch |
4 |
Log: |
5 |
Revbump, #283596 |
6 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-mail/cyrus-imapd/files/cyrus-imapd-2.3.14-bug283596.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imapd/files/cyrus-imapd-2.3.14-bug283596.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imapd/files/cyrus-imapd-2.3.14-bug283596.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: cyrus-imapd-2.3.14-bug283596.patch |
15 |
=================================================================== |
16 |
--- src/sieve/script.c 2008/03/24 20:08:46 1.67 |
17 |
+++ src/sieve/script.c 2009/09/02 13:56:18 1.68 |
18 |
@@ -40,7 +40,7 @@ |
19 |
* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING |
20 |
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
21 |
* |
22 |
- * $Id: cyrus-imapd-2.3.14-bug283596.patch,v 1.1 2009/09/03 17:53:46 dertobi123 Exp $ |
23 |
+ * $Id: cyrus-imapd-2.3.14-bug283596.patch,v 1.1 2009/09/03 17:53:46 dertobi123 Exp $ |
24 |
*/ |
25 |
|
26 |
#ifdef HAVE_CONFIG_H |
27 |
@@ -688,7 +688,7 @@ static int do_sieve_error(int ret, |
28 |
ret |= keep_ret; |
29 |
if (keep_ret == SIEVE_OK) |
30 |
snprintf(actions_string+strlen(actions_string), |
31 |
- sizeof(actions_string)-strlen(actions_string), |
32 |
+ ACTIONS_STRING_LEN-strlen(actions_string), |
33 |
"Kept\n"); |
34 |
else { |
35 |
implicit_keep = 0; /* don't try an implicit keep again */ |
36 |
@@ -742,7 +742,7 @@ static int do_action_list(sieve_interp_t |
37 |
|
38 |
if (ret == SIEVE_OK) |
39 |
snprintf(actions_string+strlen(actions_string), |
40 |
- sizeof(actions_string)-strlen(actions_string), |
41 |
+ ACTIONS_STRING_LEN-strlen(actions_string), |
42 |
"Rejected with: %s\n", a->u.rej.msg); |
43 |
|
44 |
break; |
45 |
@@ -757,7 +757,7 @@ static int do_action_list(sieve_interp_t |
46 |
|
47 |
if (ret == SIEVE_OK) |
48 |
snprintf(actions_string+strlen(actions_string), |
49 |
- sizeof(actions_string)-strlen(actions_string), |
50 |
+ ACTIONS_STRING_LEN-strlen(actions_string), |
51 |
"Filed into: %s\n",a->u.fil.mailbox); |
52 |
break; |
53 |
case ACTION_KEEP: |
54 |
@@ -770,7 +770,7 @@ static int do_action_list(sieve_interp_t |
55 |
&errmsg); |
56 |
if (ret == SIEVE_OK) |
57 |
snprintf(actions_string+strlen(actions_string), |
58 |
- sizeof(actions_string)-strlen(actions_string), |
59 |
+ ACTIONS_STRING_LEN-strlen(actions_string), |
60 |
"Kept\n"); |
61 |
break; |
62 |
case ACTION_REDIRECT: |
63 |
@@ -783,7 +783,7 @@ static int do_action_list(sieve_interp_t |
64 |
&errmsg); |
65 |
if (ret == SIEVE_OK) |
66 |
snprintf(actions_string+strlen(actions_string), |
67 |
- sizeof(actions_string)-strlen(actions_string), |
68 |
+ ACTIONS_STRING_LEN-strlen(actions_string), |
69 |
"Redirected to %s\n", a->u.red.addr); |
70 |
break; |
71 |
case ACTION_DISCARD: |
72 |
@@ -794,7 +794,7 @@ static int do_action_list(sieve_interp_t |
73 |
&errmsg); |
74 |
if (ret == SIEVE_OK) |
75 |
snprintf(actions_string+strlen(actions_string), |
76 |
- sizeof(actions_string)-strlen(actions_string), |
77 |
+ ACTIONS_STRING_LEN-strlen(actions_string), |
78 |
"Discarded\n"); |
79 |
break; |
80 |
|
81 |
@@ -820,12 +820,12 @@ static int do_action_list(sieve_interp_t |
82 |
|
83 |
if (ret == SIEVE_OK) |
84 |
snprintf(actions_string+strlen(actions_string), |
85 |
- sizeof(actions_string)-strlen(actions_string), |
86 |
+ ACTIONS_STRING_LEN-strlen(actions_string), |
87 |
"Sent vacation reply\n"); |
88 |
|
89 |
} else if (ret == SIEVE_DONE) { |
90 |
snprintf(actions_string+strlen(actions_string), |
91 |
- sizeof(actions_string)-strlen(actions_string), |
92 |
+ ACTIONS_STRING_LEN-strlen(actions_string), |
93 |
"Vacation reply suppressed\n"); |
94 |
|
95 |
ret = SIEVE_OK; |