Jacek Caban : wininet: Get rid of no longer needed INTERNET_INVALID_PORT_NUMBER in get_server.
Module: wine Branch: master Commit: 725b55ded212c48670e9991cd76cbb85470262fd URL: http://source.winehq.org/git/wine.git/?a=commit;h=725b55ded212c48670e9991cd7... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Thu Dec 15 18:36:04 2016 +0100 wininet: Get rid of no longer needed INTERNET_INVALID_PORT_NUMBER in get_server. Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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) {
participants (1)
-
Alexandre Julliard