[dovecot-cvs] dovecot/src/pop3-login client-authenticate.c, 1.42,
1.43 client.c, 1.42, 1.43
cras at dovecot.org
cras at dovecot.org
Sat May 14 23:32:12 EEST 2005
- Previous message: [dovecot-cvs] dovecot/src/pop3 client.c, 1.52, 1.53 client.h, 1.10,
1.11 commands.c, 1.41, 1.42 common.h, 1.8, 1.9 main.c, 1.24, 1.25
- Next message: [dovecot-cvs] dovecot/src/lib strfuncs.c, 1.46, 1.47 strfuncs.h,
1.24, 1.25 imem.c, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/pop3-login
In directory talvi:/tmp/cvs-serv17364/src/pop3-login
Modified Files:
client-authenticate.c client.c
Log Message:
Added configurable logging for login process. Added configurable pop3 logout
string. Based on a patch by Andrey Panin.
Index: client-authenticate.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3-login/client-authenticate.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- client-authenticate.c 1 Feb 2005 20:21:43 -0000 1.42
+++ client-authenticate.c 14 May 2005 20:32:09 -0000 1.43
@@ -160,8 +160,7 @@
}
client_send_line(client, "+OK Logged in.");
- client_destroy(client, t_strconcat(
- "Login: ", client->common.virtual_user, NULL));
+ client_destroy(client, "Login");
break;
case SASL_SERVER_REPLY_AUTH_FAILED:
if (args != NULL) {
Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3-login/client.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- client.c 8 May 2005 17:16:29 -0000 1.42
+++ client.c 14 May 2005 20:32:10 -0000 1.43
@@ -41,6 +41,8 @@
# error client idle timeout must be smaller than authentication timeout
#endif
+const char *login_protocol = "POP3";
+
static struct hash_table *clients;
static struct timeout *to_idle;
@@ -343,7 +345,7 @@
client->destroyed = TRUE;
if (reason != NULL)
- client_syslog(&client->common, "%s", reason);
+ client_syslog(&client->common, reason);
hash_remove(clients, client);
@@ -394,8 +396,7 @@
{
client_send_line(client, "-ERR [IN-USE] Internal login failure. "
"Refer to server log for more information.");
- client_destroy(client, t_strconcat("Internal login failure: ",
- client->common.virtual_user, NULL));
+ client_destroy(client, "Internal login failure");
}
void client_ref(struct pop3_client *client)
- Previous message: [dovecot-cvs] dovecot/src/pop3 client.c, 1.52, 1.53 client.h, 1.10,
1.11 commands.c, 1.41, 1.42 common.h, 1.8, 1.9 main.c, 1.24, 1.25
- Next message: [dovecot-cvs] dovecot/src/lib strfuncs.c, 1.46, 1.47 strfuncs.h,
1.24, 1.25 imem.c, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list