Skip to content

Commit

Permalink
lmtp: lmtp-local - Remove cmd parameter from lmtp_local_open_raw_mail().
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanbosch committed Mar 18, 2019
1 parent 7954549 commit 5f49360
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lmtp/lmtp-local.c
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 5f49360

Please sign in to comment.