]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: local: Renamed trans variable in lmtp_local_open_raw_mail().
authorStephan Bosch <stephan.bosch@dovecot.fi>
Tue, 19 Sep 2017 01:53:45 +0000 (03:53 +0200)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Thu, 7 Dec 2017 23:08:15 +0000 (00:08 +0100)
Preparation for new trans parameter.

src/lmtp/lmtp-local.c

index 8bef65d3b7cb0fc298f989b4e19c5beb82828fbf..abf1dca88e40dfb35bf18322e66e990ec1aab940 100644 (file)
@@ -491,7 +491,7 @@ lmtp_local_open_raw_mail(struct client *client,
                NULL
        };
        struct mailbox *box;
-       struct mailbox_transaction_context *trans;
+       struct mailbox_transaction_context *mtrans;
        struct mailbox_header_lookup_ctx *headers_ctx;
        enum mail_error error;
 
@@ -505,10 +505,10 @@ lmtp_local_open_raw_mail(struct client *client,
                return -1;
        }
 
-       trans = mailbox_transaction_begin(box, 0, __func__);
+       mtrans = mailbox_transaction_begin(box, 0, __func__);
 
        headers_ctx = mailbox_header_lookup_init(box, wanted_headers);
-       client->state.raw_mail = mail_alloc(trans, 0, headers_ctx);
+       client->state.raw_mail = mail_alloc(mtrans, 0, headers_ctx);
        mailbox_header_lookup_unref(&headers_ctx);
        mail_set_seq(client->state.raw_mail, 1);
        return 0;