dovecot-2.2: director: Fixed previous broken change for handling...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Oct 29 17:55:55 EET 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/e4c337f38ed6
changeset: 15320:e4c337f38ed6
user: Timo Sirainen <tss at iki.fi>
date: Mon Oct 22 15:17:39 2012 +0300
description:
director: Fixed previous broken change for handling USER-WEAK commands.
diffstat:
src/director/director-connection.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r a97c62fdd4ad -r e4c337f38ed6 src/director/director-connection.c
--- a/src/director/director-connection.c Sun Oct 21 07:13:44 2012 +0300
+++ b/src/director/director-connection.c Mon Oct 22 15:17:39 2012 +0300
@@ -725,7 +725,9 @@
bool weak = TRUE;
int ret;
- if ((ret = director_cmd_is_seen(conn, &args, &dir_host)) != 0)
+ /* note that unlike other commands we don't want to just ignore
+ duplicate commands */
+ if ((ret = director_cmd_is_seen(conn, &args, &dir_host)) < 0)
return ret > 0;
if (str_array_length(args) != 2 ||
More information about the dovecot-cvs
mailing list