From: Jacek Caban Subject: [PATCH 2/2] wininet: Get rid of no longer needed INTERNET_INVALID_PORT_NUMBER in get_server. Message-Id: <633e415d-7f41-ab82-baf3-2d0e6f4ce958@codeweavers.com> Date: Thu, 15 Dec 2016 18:36:04 +0100 Signed-off-by: Jacek Caban --- dlls/wininet/http.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 1dffbaa..635b7d6 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -270,9 +270,6 @@ server_t *get_server(substr_t name, INTERNET_PORT port, BOOL is_https, BOOL do_c { server_t *iter, *server = NULL; - if(port == INTERNET_INVALID_PORT_NUMBER) - port = INTERNET_DEFAULT_HTTP_PORT; - EnterCriticalSection(&connection_pool_cs); LIST_FOR_EACH_ENTRY(iter, &connection_pool, server_t, entry) {