[dovecot-cvs] dovecot/src/imap Makefile.am, 1.30, 1.31 cmd-authenticate.c, 1.4, NONE cmd-login.c, 1.4, NONE commands.c, 1.15, 1.16 commands.h, 1.18, 1.19

cras at dovecot.org cras at dovecot.org
Thu Jun 8 19:54:12 EEST 2006


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv14728

Modified Files:
	Makefile.am commands.c commands.h 
Removed Files:
	cmd-authenticate.c cmd-login.c 
Log Message:
Removed LOGIN and AUTHENTICATE command handlers completely. They're only
valid in non-authenticated state and there's really no point in having them
here anymore.



Index: Makefile.am
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/Makefile.am,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- Makefile.am	21 Apr 2006 13:33:00 -0000	1.30
+++ Makefile.am	8 Jun 2006 16:54:10 -0000	1.31
@@ -36,7 +36,6 @@
 
 cmds = \
 	cmd-append.c \
-	cmd-authenticate.c \
 	cmd-capability.c \
 	cmd-check.c \
 	cmd-close.c \
@@ -48,7 +47,6 @@
 	cmd-fetch.c \
 	cmd-idle.c \
 	cmd-list.c \
-	cmd-login.c \
 	cmd-logout.c \
 	cmd-lsub.c \
 	cmd-namespace.c \

--- cmd-authenticate.c DELETED ---

--- cmd-login.c DELETED ---

Index: commands.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/commands.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- commands.c	13 Jan 2006 20:25:59 -0000	1.15
+++ commands.c	8 Jun 2006 16:54:10 -0000	1.16
@@ -7,9 +7,7 @@
 #include <stdlib.h>
 
 const struct command imap4rev1_commands[] = {
-	{ "AUTHENTICATE",	cmd_authenticate },
 	{ "CAPABILITY",		cmd_capability },
-	{ "LOGIN",		cmd_login },
 	{ "LOGOUT",		cmd_logout },
 	{ "NOOP",		cmd_noop },
 

Index: commands.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/commands.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- commands.h	13 Jan 2006 20:25:59 -0000	1.18
+++ commands.h	8 Jun 2006 16:54:10 -0000	1.19
@@ -32,8 +32,6 @@
 /* IMAP4rev1 commands: */
 
 /* Non-Authenticated State */
-bool cmd_authenticate(struct client_command_context *cmd);
-bool cmd_login(struct client_command_context *cmd);
 bool cmd_logout(struct client_command_context *cmd);
 
 bool cmd_capability(struct client_command_context *cmd);



More information about the dovecot-cvs mailing list