dovecot-1.2: HP-UX: Fixed compiling problem in fs-quota.

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 17 12:36:38 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/f4c53ad3610f
changeset: 7846:f4c53ad3610f
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jun 12 23:16:46 2008 +0300
description:
HP-UX: Fixed compiling problem in fs-quota.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/plugins/quota/quota-fs.c |    4 ++--

diffs (14 lines):

diff -r e4e9cc00d9ba -r f4c53ad3610f src/plugins/quota/quota-fs.c
--- a/src/plugins/quota/quota-fs.c	Thu Jun 12 23:13:24 2008 +0300
+++ b/src/plugins/quota/quota-fs.c	Thu Jun 12 23:16:46 2008 +0300
@@ -516,8 +516,8 @@ fs_quota_get_hpux(struct fs_quota_root *
 		*value_r = (uint64_t)dqblk.dqb_curblocks * DEV_BSIZE;
 		*limit_r = (uint64_t)dqblk.dqb_bsoftlimit * DEV_BSIZE;
 	} else {
-		*value_r = dqblk.dqb_curinodes;
-		*limit_r = dqblk.dqb_isoftlimit;
+		*value_r = dqblk.dqb_curfiles;
+		*limit_r = dqblk.dqb_fsoftlimit;
 	}
 	return 1;
 }


More information about the dovecot-cvs mailing list