]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm quota: Fixed to work with new doveadm API
authorTimo Sirainen <tss@iki.fi>
Thu, 27 May 2010 19:00:28 +0000 (20:00 +0100)
committerTimo Sirainen <tss@iki.fi>
Thu, 27 May 2010 19:00:28 +0000 (20:00 +0100)
--HG--
branch : HEAD

src/plugins/quota/doveadm-quota.c

index 3a556aed8719e349d2c3b6efd83292372c2b358e..3de32e1388a8fc6d2a599ab23b335f9b0b229c60 100644 (file)
@@ -56,7 +56,7 @@ cmd_quota_get_alloc(void)
        struct doveadm_mail_cmd_context *ctx;
 
        ctx = doveadm_mail_cmd_alloc(struct doveadm_mail_cmd_context);
-       ctx->run = cmd_quota_get_run;
+       ctx->v.run = cmd_quota_get_run;
        return ctx;
 }
 
@@ -82,7 +82,7 @@ cmd_quota_recalc_alloc(void)
        struct doveadm_mail_cmd_context *ctx;
 
        ctx = doveadm_mail_cmd_alloc(struct doveadm_mail_cmd_context);
-       ctx->run = cmd_quota_recalc_run;
+       ctx->v.run = cmd_quota_recalc_run;
        return ctx;
 }