Mercurial > dovecot > original-hg > dovecot-1.2
changeset 4614:bdfc03178263 HEAD
Removed quota_set_error() calls.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 17 Sep 2006 21:10:32 +0300 |
parents | 84ee1092021f |
children | c9bdfaa2e2cf |
files | src/plugins/quota/quota-fs.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/quota/quota-fs.c Sun Sep 17 20:49:02 2006 +0300 +++ b/src/plugins/quota/quota-fs.c Sun Sep 17 21:10:32 2006 +0300 @@ -250,7 +250,6 @@ root->uid, (void *)&dqblk) < 0) { i_error("quotactl(Q_GETQUOTA, %s) failed: %m", root->mount->mount_path); - quota_set_error(_root->setup->quota, "Internal quota error"); return -1; } *value_r = (uint64_t)dqblk.dqb_curblocks * 1024 / DEV_BSIZE; @@ -265,7 +264,6 @@ ctl.addr = (caddr_t)&dqblk; if (ioctl(root->mount->fd, Q_QUOTACTL, &ctl) < 0) { i_error("ioctl(%s, Q_QUOTACTL) failed: %m", root->mount->path); - quota_set_error(_root->setup->quota, "Internal quota error"); return -1; } *value_r = (uint64_t)dqblk.dqb_curblocks * 1024 / DEV_BSIZE;