[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2024-g7433008

Volker Lendecke vlendec at samba.org
Thu Jun 4 10:05:21 GMT 2009


The branch, master has been updated
       via  74330085ecad1d7ab686f5cc421fdc66022f0da7 (commit)
      from  8def5cb352fbc79c112227375100361124d5ba7a (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 74330085ecad1d7ab686f5cc421fdc66022f0da7
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Jun 4 12:02:38 2009 +0200

    Only err on readability if writev_send was explicitly asked to do so
    
    A socket might be readable for other reasons

-----------------------------------------------------------------------

Summary of changes:
 lib/async_req/async_sock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/async_req/async_sock.c b/lib/async_req/async_sock.c
index d88edb1..a505fcf 100644
--- a/lib/async_req/async_sock.c
+++ b/lib/async_req/async_sock.c
@@ -425,7 +425,7 @@ static void writev_handler(struct tevent_context *ev, struct tevent_fd *fde,
 
 	to_write = 0;
 
-	if (flags & TEVENT_FD_READ) {
+	if ((state->flags & TEVENT_FD_READ) && (flags & TEVENT_FD_READ)) {
 		tevent_req_error(req, EPIPE);
 		return;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list