[dovecot-cvs] dovecot/src/master login-process.c,1.76,1.77

cras at dovecot.org cras at dovecot.org
Mon Sep 25 13:31:01 EEST 2006


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv31166

Modified Files:
	login-process.c 
Log Message:
If fd_read() returns EAGAIN, ignore it.



Index: login-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/login-process.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- login-process.c	6 Aug 2006 20:05:36 -0000	1.76
+++ login-process.c	25 Sep 2006 10:30:59 -0000	1.77
@@ -308,6 +308,9 @@
 			/* req wasn't fully read */
 			i_error("login: fd_read() couldn't read all req");
 		} else {
+			if (errno == EAGAIN)
+				return;
+
 			i_error("login: fd_read() failed: %m");
 		}
 



More information about the dovecot-cvs mailing list