* Remove 4096 byte limit on sieve scripts.
authorArt Cancro <ajc@citadel.org>
Fri, 11 Sep 2009 15:44:00 +0000 (15:44 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 11 Sep 2009 15:44:00 +0000 (15:44 +0000)
webcit/sieve.c

index 9ae76a97b978947758a73c6c28319ed9cefa1ad4..dc511b4ab83c6bd6d7696a9808486784cdf518d5 100644 (file)
@@ -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");
                                }
                        }
                }