dovecot-1.2: quota-fs: Compile fix for OSes without GRPQUOTA def...

dovecot at dovecot.org dovecot at dovecot.org
Mon Apr 6 23:18:06 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/7bfbbfd2c32a
changeset: 8920:7bfbbfd2c32a
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Apr 06 16:17:58 2009 -0400
description:
quota-fs: Compile fix for OSes without GRPQUOTA define.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/plugins/quota/quota-fs.c |    2 +-

diffs (12 lines):

diff -r 4f506d955365 -r 7bfbbfd2c32a src/plugins/quota/quota-fs.c
--- a/src/plugins/quota/quota-fs.c	Mon Apr 06 16:12:48 2009 -0400
+++ b/src/plugins/quota/quota-fs.c	Mon Apr 06 16:17:58 2009 -0400
@@ -397,7 +397,7 @@ static int do_rquota_group(struct fs_quo
 static int do_rquota_group(struct fs_quota_root *root, bool bytes,
 			   uint64_t *value_r, uint64_t *limit_r)
 {
-#ifdef EXT_RQUOTAVERS
+#if defined(EXT_RQUOTAVERS) && defined(GRPQUOTA)
 	struct getquota_rslt result;
 	ext_getquota_args args;
 	struct timeval timeout;


More information about the dovecot-cvs mailing list