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:
parent
0d22e43f8c
commit
725b55ded2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue