Hans Leidekker : rpcrt4: Only accept status code HTTP_STATUS_OK.
Alexandre Julliard
julliard at winehq.org
Wed Aug 28 14:03:10 CDT 2013
Module: wine
Branch: master
Commit: 0b900f2fd4cc1047eac98113744051e24d1d6d65
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0b900f2fd4cc1047eac98113744051e24d1d6d65
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed Aug 28 13:31:55 2013 +0200
rpcrt4: Only accept status code HTTP_STATUS_OK.
---
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 b039959..8932f10 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -2039,7 +2039,7 @@ static RPC_STATUS rpcrt4_http_check_response(HINTERNET hor)
ret = HttpQueryInfoW(hor, HTTP_QUERY_STATUS_CODE|HTTP_QUERY_FLAG_NUMBER, &status_code, &size, &index);
if (!ret)
return GetLastError();
- if (status_code < 400)
+ if (status_code == HTTP_STATUS_OK)
return RPC_S_OK;
index = 0;
size = sizeof(buf);
More information about the wine-cvs
mailing list