[dovecot-cvs] dovecot/src/auth auth-worker-client.c, 1.2,
1.3 userdb-blocking.c, 1.2, 1.3
cras at dovecot.org
cras at dovecot.org
Mon Mar 7 21:16:17 EET 2005
- Previous message: [dovecot-cvs] dovecot/src/master auth-process.c, 1.77,
1.78 master-settings.c, 1.82, 1.83 master-settings.h, 1.55, 1.56
- Next message: [dovecot-cvs] dovecot/src/auth auth-master-connection.c, 1.30,
1.31 auth-request.c, 1.14, 1.15 auth-request.h, 1.12,
1.13 auth-worker-client.c, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv988
Modified Files:
auth-worker-client.c userdb-blocking.c
Log Message:
Blocking userdb: Don't break if user wasn't found.
Index: auth-worker-client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-worker-client.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- auth-worker-client.c 7 Mar 2005 18:55:13 -0000 1.2
+++ auth-worker-client.c 7 Mar 2005 19:16:15 -0000 1.3
@@ -220,7 +220,8 @@
str = t_str_new(64);
str_printfa(str, "%u\t", auth_request->id);
- str_append(str, result);
+ if (result != NULL)
+ str_append(str, result);
str_append_c(str, '\n');
o_stream_send(client->output, str_data(str), str_len(str));
Index: userdb-blocking.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/userdb-blocking.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- userdb-blocking.c 7 Mar 2005 18:55:13 -0000 1.2
+++ userdb-blocking.c 7 Mar 2005 19:16:15 -0000 1.3
@@ -10,6 +10,9 @@
static void user_callback(struct auth_request *request, const char *reply)
{
+ if (*reply == '\0')
+ reply = NULL;
+
request->private_callback.userdb(reply, request);
}
- Previous message: [dovecot-cvs] dovecot/src/master auth-process.c, 1.77,
1.78 master-settings.c, 1.82, 1.83 master-settings.h, 1.55, 1.56
- Next message: [dovecot-cvs] dovecot/src/auth auth-master-connection.c, 1.30,
1.31 auth-request.c, 1.14, 1.15 auth-request.h, 1.12,
1.13 auth-worker-client.c, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list