]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: lmtp-local - Remove cmd parameter from lmtp_local_open_raw_mail().
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sat, 16 Mar 2019 00:13:17 +0000 (01:13 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Mon, 18 Mar 2019 21:25:45 +0000 (22:25 +0100)
src/lmtp/lmtp-local.c

index 5c53aa0ff38f616f7679246d2431a1e848a6fb7f..712b6541ed600321597adcbad7c681ba1c5676c8 100644 (file)
@@ -701,7 +701,6 @@ lmtp_local_deliver_to_rcpts(struct lmtp_local *local,
 
 static int
 lmtp_local_open_raw_mail(struct lmtp_local *local,
-                        struct smtp_server_cmd_ctx *cmd ATTR_UNUSED,
                         struct smtp_server_transaction *trans,
                         struct istream *input)
 {
@@ -744,7 +743,7 @@ void lmtp_local_data(struct client *client,
        struct mail_deliver_session *session;
        uid_t old_uid, first_uid;
 
-       if (lmtp_local_open_raw_mail(local, cmd, trans, input) < 0)
+       if (lmtp_local_open_raw_mail(local, trans, input) < 0)
                return;
 
        session = mail_deliver_session_init();