Mercurial > dovecot > core-2.2
changeset 12375:d3d07da70102
lmtp: Minor code cleanup: s/lmtp_login_/lmtp_/
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 03 Nov 2010 15:31:36 +0000 |
parents | a69ad6b69481 |
children | 97b286b6ec45 |
files | src/lmtp/lmtp-settings.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lmtp/lmtp-settings.c Wed Nov 03 15:27:40 2010 +0000 +++ b/src/lmtp/lmtp-settings.c Wed Nov 03 15:31:36 2010 +0000 @@ -14,18 +14,18 @@ #include <unistd.h> /* <settings checks> */ -static struct file_listener_settings lmtp_login_unix_listeners_array[] = { +static struct file_listener_settings lmtp_unix_listeners_array[] = { { "lmtp", 0666, "", "" } }; -static struct file_listener_settings *lmtp_login_unix_listeners[] = { - &lmtp_login_unix_listeners_array[0] +static struct file_listener_settings *lmtp_unix_listeners[] = { + &lmtp_unix_listeners_array[0] }; -static buffer_t lmtp_login_unix_listeners_buf = { - lmtp_login_unix_listeners, sizeof(lmtp_login_unix_listeners), { 0, } +static buffer_t lmtp_unix_listeners_buf = { + lmtp_unix_listeners, sizeof(lmtp_unix_listeners), { 0, } }; /* </settings checks> */ -struct service_settings lmtp_login_service_settings = { +struct service_settings lmtp_service_settings = { .name = "lmtp", .protocol = "lmtp", .type = "", @@ -45,8 +45,8 @@ .idle_kill = 0, .vsz_limit = 0, - .unix_listeners = { { &lmtp_login_unix_listeners_buf, - sizeof(lmtp_login_unix_listeners[0]) } }, + .unix_listeners = { { &lmtp_unix_listeners_buf, + sizeof(lmtp_unix_listeners[0]) } }, .fifo_listeners = ARRAY_INIT, .inet_listeners = ARRAY_INIT };