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

dovecot at dovecot.org dovecot at dovecot.org
Fri Jun 13 00:36:29 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/bbae551fd110
changeset: 7646:bbae551fd110
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 5317e013a6e4 -r bbae551fd110 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