[Dovecot] Dovecot Sieve with Dovecot 2.0

Willi Burmeister wib at cs.uni-kiel.de
Wed Aug 11 11:26:06 EEST 2010


Hi Stephan,

> I hope to finish a preliminary release of Pigeonhole soon...

attached a small patch file for pigeonhole to get it compile
on my Solaris 10 system with SunStudio 12.1 compiler

Greetings and thanks for pigeonhole

Willi

-------------- next part --------------
--- ./src/lib-sieve/sieve-generator.h.ori	Thu Aug  5 10:38:57 2010
+++ ./src/lib-sieve/sieve-generator.h	Thu Aug  5 10:39:35 2010
@@ -47,7 +47,7 @@
 
 void sieve_generator_warning
 (struct sieve_generator *gentr, unsigned int source_line, 
-	const char *fmt, ...) ATTR_FORMAT(3, 4);; 
+	const char *fmt, ...) ATTR_FORMAT(3, 4);
 void sieve_generator_error
 (struct sieve_generator *gentr, unsigned int source_line, 
 	const char *fmt, ...) ATTR_FORMAT(3, 4);
--- ./src/lib-sieve/sieve-address.h.ori	Thu Aug  5 10:38:57 2010
+++ ./src/lib-sieve/sieve-address.h	Thu Aug  5 10:40:22 2010
@@ -53,7 +53,7 @@
 static inline void sieve_address_list_reset
 (struct sieve_address_list *addrlist) 
 {
-	return sieve_stringlist_reset(&addrlist->strlist);
+	sieve_stringlist_reset(&addrlist->strlist);
 }
 
 static inline int sieve_address_list_get_length
@@ -65,7 +65,7 @@
 static inline void sieve_address_list_set_trace
 (struct sieve_address_list *addrlist, bool trace)
 {
-	return sieve_stringlist_set_trace(&addrlist->strlist, trace);
+	sieve_stringlist_set_trace(&addrlist->strlist, trace);
 }
 
 /*
--- ./src/lib-sieve/sieve-stringlist.h.ori	Thu Aug  5 10:38:57 2010
+++ ./src/lib-sieve/sieve-stringlist.h	Thu Aug  5 10:40:30 2010
@@ -42,7 +42,7 @@
 static inline void sieve_stringlist_reset
 (struct sieve_stringlist *strlist) 
 {
-	return strlist->reset(strlist);
+	strlist->reset(strlist);
 }
 
 int sieve_stringlist_get_length


More information about the dovecot mailing list