Rob Shearman : rpcrt4: Fix a typo in rpcrt4_conn_tcp_read.

Alexandre Julliard julliard at winehq.org
Fri Dec 14 07:39:49 CST 2007


Module: wine
Branch: master
Commit: ba280fb1b040fc2b4c43f8b7ee353ee6933ab59a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ba280fb1b040fc2b4c43f8b7ee353ee6933ab59a

Author: Rob Shearman <rob at codeweavers.com>
Date:   Fri Dec 14 09:30:50 2007 +0000

rpcrt4: Fix a typo in rpcrt4_conn_tcp_read.

---

 dlls/rpcrt4/rpc_transport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index ea49b77..e4d12c3 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -977,7 +977,7 @@ static int rpcrt4_conn_tcp_read(RpcConnection *Connection,
       pfds[0].fd = tcpc->sock;
       pfds[0].events = POLLIN;
       pfds[1].fd = tcpc->cancel_fds[0];
-      pfds[1].fd = POLLIN;
+      pfds[1].events = POLLIN;
       if (poll(pfds, 2, -1 /* infinite */) == -1 && errno != EINTR)
       {
         ERR("poll() failed: %s\n", strerror(errno));




More information about the wine-cvs mailing list