Hi Sam,
Does this patch breaks an optimization or corrects an omission in
TRASHQUOTA management ?
Regards,
Alain
diff -ruN courier-imap-4.0.6.20051004.orig/maildir/maildirquota.c
courier-imap-4.0.6.20051004/maildir/maildirquota.c
--- courier-imap-4.0.6.20051004.orig/maildir/maildirquota.c 2005-02-17
00:42:54.000000000 +0100
+++ courier-imap-4.0.6.20051004/maildir/maildirquota.c 2006-02-07
16:51:42.000000000 +0100
@@ -691,7 +691,11 @@
int n;
if ( *subdir != '.' || strcmp(subdir, ".") == 0 ||
- strcmp(subdir, "..") == 0 || strcmp(subdir, "." TRASH) == 0)
+ strcmp(subdir, "..") == 0
+#ifdef TRASHQUOTA
+ || strcmp(subdir, "." TRASH) == 0
+#endif
+ )
return (0);
p=(char *)malloc(strlen(dir)+strlen(subdir)+2);