From: Art Cancro Date: Fri, 11 Sep 2009 15:44:00 +0000 (+0000) Subject: * Remove 4096 byte limit on sieve scripts. X-Git-Tag: v7.86~852 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;ds=sidebyside;h=5dc7d255bba61dbc1138eb8bf9c3b063acc01124;p=citadel.git * Remove 4096 byte limit on sieve scripts. --- 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"); } } }