[dovecot-cvs] dovecot/src/imap-login client-authenticate.c,1.7,1.8
client.c,1.12,1.13
cras at procontrol.fi
cras at procontrol.fi
Fri May 23 18:40:52 EEST 2003
Update of /home/cvs/dovecot/src/imap-login
In directory danu:/tmp/cvs-serv28910/imap-login
Modified Files:
client-authenticate.c client.c
Log Message:
Removed I/O priorities. They were pretty much useless and were just getting
in way.
Index: client-authenticate.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap-login/client-authenticate.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- client-authenticate.c 16 May 2003 17:09:42 -0000 1.7
+++ client-authenticate.c 23 May 2003 14:40:50 -0000 1.8
@@ -62,6 +62,8 @@
static void client_auth_abort(struct imap_client *client, const char *msg)
{
+ client->authenticating = FALSE;
+
if (client->common.auth_request != NULL) {
auth_abort_request(client->common.auth_request);
auth_request_unref(client->common.auth_request);
@@ -132,7 +134,6 @@
master_callback, &error)) {
case -1:
/* login failed */
- client->authenticating = FALSE;
client_auth_abort(client, error);
break;
@@ -213,7 +214,6 @@
master_callback, &error)) {
case -1:
/* login failed */
- client->authenticating = FALSE;
client_auth_abort(client, error);
break;
Index: client.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap-login/client.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- client.c 18 May 2003 16:37:56 -0000 1.12
+++ client.c 23 May 2003 14:40:50 -0000 1.13
@@ -62,7 +62,7 @@
client->input = i_stream_create_file(fd, default_pool,
MAX_INBUF_SIZE, FALSE);
client->output = o_stream_create_file(fd, default_pool, MAX_OUTBUF_SIZE,
- IO_PRIORITY_DEFAULT, FALSE);
+ FALSE);
client->parser = imap_parser_create(client->input, client->output,
MAX_INBUF_SIZE,
MAX_IMAP_ARG_ELEMENTS);
More information about the dovecot-cvs
mailing list