wininet: Get rid of no longer needed INTERNET_INVALID_PORT_NUMBER in get_server.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2016-12-15 18:36:04 +01:00 committed by Alexandre Julliard
parent 0d22e43f8c
commit 725b55ded2
1 changed files with 0 additions and 3 deletions

View File

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