Rob Shearman : rpcrt4:
Fix a typo in rpcrt4_ip_tcp_open that would cause the function
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Oct 31 15:07:55 CST 2006
Module: wine
Branch: master
Commit: e2e05d0493ee48b58b4b6997868d4bfea761a4f8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e2e05d0493ee48b58b4b6997868d4bfea761a4f8
Author: Rob Shearman <rob at codeweavers.com>
Date: Tue Oct 31 19:01:33 2006 +0000
rpcrt4: Fix a typo in rpcrt4_ip_tcp_open that would cause the function
to go into an infinite loop if getaddrinfo returned more than one entry.
---
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 2f65f75..d50b60b 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -600,7 +600,7 @@ static RPC_STATUS rpcrt4_ncacn_ip_tcp_op
return RPC_S_SERVER_UNAVAILABLE;
}
- for (ai_cur = ai; ai_cur; ai_cur = ai->ai_next)
+ for (ai_cur = ai; ai_cur; ai_cur = ai_cur->ai_next)
{
if (TRACE_ON(rpc))
{
More information about the wine-cvs
mailing list