From: Aki Tuomi Date: Wed, 1 Nov 2017 17:09:43 +0000 (+0200) Subject: lazy-expunge: Fix spelling mistakes X-Git-Tag: 2.3.0.rc1~607 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3e5780c9eb464129be300338d5714fbb55418f4;p=thirdparty%2Fdovecot%2Fcore.git lazy-expunge: Fix spelling mistakes Original work by @jsoref --- diff --git a/src/plugins/lazy-expunge/lazy-expunge-plugin.c b/src/plugins/lazy-expunge/lazy-expunge-plugin.c index 30dfd3257a..b1e8b593ba 100644 --- a/src/plugins/lazy-expunge/lazy-expunge-plugin.c +++ b/src/plugins/lazy-expunge/lazy-expunge-plugin.c @@ -176,7 +176,7 @@ lazy_expunge_count_in_transaction(struct lazy_expunge_transaction *lt, return refcount-1; } -static int lazy_expunge_mail_is_last_instace(struct mail *_mail) +static int lazy_expunge_mail_is_last_instance(struct mail *_mail) { struct lazy_expunge_transaction *lt = LAZY_EXPUNGE_CONTEXT(_mail->transaction); @@ -318,7 +318,7 @@ static void lazy_expunge_mail_expunge(struct mail *_mail) immediately. */ if (moving) ret = 0; - else if ((ret = lazy_expunge_mail_is_last_instace(_mail)) < 0) { + else if ((ret = lazy_expunge_mail_is_last_instance(_mail)) < 0) { lazy_expunge_set_error(lt, _mail->box->storage); return; }