rpcrt4: Fix a typo in rpcrt4_conn_tcp_read.

This commit is contained in:
Rob Shearman 2007-12-14 09:30:50 +00:00 committed by Alexandre Julliard
parent 4637a4ef49
commit ba280fb1b0
1 changed files with 1 additions and 1 deletions

View File

@ -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));