[dovecot-cvs] dovecot/src/pop3-login client-authenticate.c, 1.53, 1.54
tss at dovecot.org
tss at dovecot.org
Sun Dec 3 12:13:55 UTC 2006
Update of /var/lib/cvs/dovecot/src/pop3-login
In directory talvi:/tmp/cvs-serv21400/pop3-login
Modified Files:
client-authenticate.c
Log Message:
Changed the service name from uppercase IMAP/POP3 to lowercase imap/pop3 so
they're consistent with smtp/deliver.
Index: client-authenticate.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3-login/client-authenticate.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- client-authenticate.c 12 Nov 2006 12:41:37 -0000 1.53
+++ client-authenticate.c 3 Dec 2006 12:13:53 -0000 1.54
@@ -19,6 +19,8 @@
#include <stdlib.h>
+#define POP3_SERVICE_NAME "pop3"
+
const char *capability_string = POP3_CAPABILITY_REPLY;
bool cmd_capa(struct pop3_client *client, const char *args __attr_unused__)
@@ -240,7 +242,7 @@
}
client_ref(client);
- sasl_server_auth_begin(&client->common, "POP3", mech_name,
+ sasl_server_auth_begin(&client->common, POP3_SERVICE_NAME, mech_name,
args, sasl_callback);
if (!client->common.authenticating)
return TRUE;
@@ -308,7 +310,7 @@
base64_encode(plain_login->data, plain_login->used, base64);
client_ref(client);
- sasl_server_auth_begin(&client->common, "POP3", "PLAIN",
+ sasl_server_auth_begin(&client->common, POP3_SERVICE_NAME, "PLAIN",
str_c(base64), sasl_callback);
if (!client->common.authenticating)
return TRUE;
@@ -366,7 +368,7 @@
base64_encode(apop_data->data, apop_data->used, base64);
client_ref(client);
- sasl_server_auth_begin(&client->common, "POP3", "APOP",
+ sasl_server_auth_begin(&client->common, POP3_SERVICE_NAME, "APOP",
str_c(base64), sasl_callback);
if (!client->common.authenticating)
return TRUE;
More information about the dovecot-cvs
mailing list