dovecot-2.2: lmtp: Removed some unnecessary code
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jun 16 10:04:45 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/50ede76b8d2b
changeset: 17493:50ede76b8d2b
user: Timo Sirainen <tss at iki.fi>
date: Mon Jun 16 13:03:31 2014 +0300
description:
lmtp: Removed some unnecessary code
diffstat:
src/lmtp/commands.c | 2 +-
src/lmtp/lmtp-proxy.c | 2 --
src/lmtp/lmtp-proxy.h | 1 -
3 files changed, 1 insertions(+), 4 deletions(-)
diffs (42 lines):
diff -r 854a1719c840 -r 50ede76b8d2b src/lmtp/commands.c
--- a/src/lmtp/commands.c Sun Jun 15 11:03:32 2014 +0300
+++ b/src/lmtp/commands.c Mon Jun 16 13:03:31 2014 +0300
@@ -938,7 +938,7 @@
if (array_count(&client->state.rcpt_to) != 0)
client_input_data_write_local(client, input);
if (client->proxy != NULL) {
- lmtp_proxy_start(client->proxy, input, NULL,
+ lmtp_proxy_start(client->proxy, input,
client_proxy_finish, client);
ret = FALSE;
}
diff -r 854a1719c840 -r 50ede76b8d2b src/lmtp/lmtp-proxy.c
--- a/src/lmtp/lmtp-proxy.c Sun Jun 15 11:03:32 2014 +0300
+++ b/src/lmtp/lmtp-proxy.c Mon Jun 16 13:03:31 2014 +0300
@@ -281,7 +281,6 @@
}
void lmtp_proxy_start(struct lmtp_proxy *proxy, struct istream *data_input,
- const char *header,
lmtp_proxy_finish_callback_t *callback, void *context)
{
struct lmtp_proxy_connection *const *conns;
@@ -305,7 +304,6 @@
lmtp_proxy_conn_timeout, conn);
conn->data_input = i_stream_create_limit(data_input, (uoff_t)-1);
- lmtp_client_set_data_header(conn->client, header);
lmtp_client_send(conn->client, conn->data_input);
lmtp_client_send_more(conn->client);
}
diff -r 854a1719c840 -r 50ede76b8d2b src/lmtp/lmtp-proxy.h
--- a/src/lmtp/lmtp-proxy.h Sun Jun 15 11:03:32 2014 +0300
+++ b/src/lmtp/lmtp-proxy.h Mon Jun 16 13:03:31 2014 +0300
@@ -39,7 +39,6 @@
const struct lmtp_proxy_rcpt_settings *set);
/* Start proxying */
void lmtp_proxy_start(struct lmtp_proxy *proxy, struct istream *data_input,
- const char *header,
lmtp_proxy_finish_callback_t *callback, void *context)
ATTR_NULL(3);
More information about the dovecot-cvs
mailing list