dovecot-2.2: replication plugin: Synchronous notification timeou...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 12 23:20:42 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/f5cb6a0d615b
changeset: 17471:f5cb6a0d615b
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jun 13 01:22:23 2014 +0300
description:
replication plugin: Synchronous notification timeout error wasn't logged as intended.
Found by Coverity

diffstat:

 src/plugins/replication/replication-plugin.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ecbe9abc14e3 -r f5cb6a0d615b src/plugins/replication/replication-plugin.c
--- a/src/plugins/replication/replication-plugin.c	Fri Jun 13 01:20:25 2014 +0300
+++ b/src/plugins/replication/replication-plugin.c	Fri Jun 13 01:22:23 2014 +0300
@@ -147,7 +147,7 @@
 		/* + | - */
 		ret = read(fd, buf, sizeof(buf));
 		if (ret < 0) {
-			if (ret != EINTR) {
+			if (errno != EINTR) {
 				i_error("read(%s) failed: %m",
 					ruser->socket_path);
 			} else {


More information about the dovecot-cvs mailing list