dovecot-2.0: lmtp: Minor code cleanup: s/lmtp_login_/lmtp_/

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 3 17:31:56 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/d3d07da70102
changeset: 12375:d3d07da70102
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Nov 03 15:31:36 2010 +0000
description:
lmtp: Minor code cleanup: s/lmtp_login_/lmtp_/

diffstat:

 src/lmtp/lmtp-settings.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (39 lines):

diff -r a69ad6b69481 -r d3d07da70102 src/lmtp/lmtp-settings.c
--- 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
 };


More information about the dovecot-cvs mailing list