From 5dc7d255bba61dbc1138eb8bf9c3b063acc01124 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 11 Sep 2009 15:44:00 +0000 Subject: [PATCH] * Remove 4096 byte limit on sieve scripts. --- webcit/sieve.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webcit/sieve.c b/webcit/sieve.c index 9ae76a97b..dc511b4ab 100644 --- a/webcit/sieve.c +++ b/webcit/sieve.c @@ -620,9 +620,9 @@ void save_sieve(void) { serv_getln(buf, sizeof buf); if (buf[0] == '4') { snprintf(this_name, sizeof this_name, "text_%s", script_names[i]); - striplt((char*)BSTR(this_name)); /* TODO: get rid of typecast*/ - serv_printf("%s", BSTR(this_name)); - serv_puts("000"); + striplt((char *)BSTR(this_name)); /* TODO: get rid of typecast*/ + serv_write(BSTR(this_name), strlen(BSTR(this_name))); + serv_puts("\n000"); } } } -- 2.30.2