Guys,
It seems current trunk is broken for compiling with sieve, the define
IMAP_NFLASGS is missing where should that be? also typo on the g_free.
Thanks,
Leif
diff -urNab dbmail-svn-2.1.7-2218.orig/modules/sortsieve.c
dbmail-svn-2.1.7-2218/modules/sortsieve.c
--- dbmail-svn-2.1.7-2218.orig/modules/sortsieve.c 2006-07-30
12:53:34.214490000 -0400
+++ dbmail-svn-2.1.7-2218/modules/sortsieve.c 2006-07-30
13:11:44.207982927 -0400
@@ -181,6 +181,8 @@
return SIEVE2_OK;
}
+#define IMAP_NFLASGS 256
+
int sort_fileinto(sieve2_context_t *s, void *my)
{
struct sort_context *m = (struct sort_context *)my;
@@ -223,7 +225,7 @@
}
if (msgflags)
- g_free(msgflasgs);
+ g_free(msgflags);
return SIEVE2_OK;
}