From ba280fb1b040fc2b4c43f8b7ee353ee6933ab59a Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Fri, 14 Dec 2007 09:30:50 +0000 Subject: [PATCH] rpcrt4: Fix a typo in rpcrt4_conn_tcp_read. --- dlls/rpcrt4/rpc_transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c index ea49b778dc9..e4d12c33465 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));