[dovecot-cvs] dovecot/src/imap Makefile.am, 1.30, 1.30.2.1 cmd-authenticate.c, 1.4, NONE cmd-login.c, 1.4, NONE commands.c, 1.15, 1.15.2.1 commands.h, 1.18, 1.18.2.1

cras at dovecot.org cras at dovecot.org
Thu May 11 16:19:02 EEST 2006


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

Modified Files:
      Tag: branch_1_0
	Makefile.am commands.c commands.h 
Removed Files:
      Tag: branch_1_0
	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.30.2.1
diff -u -d -r1.30 -r1.30.2.1
--- Makefile.am	21 Apr 2006 13:33:00 -0000	1.30
+++ Makefile.am	11 May 2006 13:18:59 -0000	1.30.2.1
@@ -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.15.2.1
diff -u -d -r1.15 -r1.15.2.1
--- commands.c	13 Jan 2006 20:25:59 -0000	1.15
+++ commands.c	11 May 2006 13:19:00 -0000	1.15.2.1
@@ -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.18.2.1
diff -u -d -r1.18 -r1.18.2.1
--- commands.h	13 Jan 2006 20:25:59 -0000	1.18
+++ commands.h	11 May 2006 13:19:00 -0000	1.18.2.1
@@ -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