winhttp: Remove redundant "not NULL" check for the "server" arg.

This commit is contained in:
Michael Stefaniuc 2010-05-17 01:11:35 +02:00 committed by Alexandre Julliard
parent 00ff0db708
commit 8e8f743cb0
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ HINTERNET WINAPI WinHttpConnect( HINTERNET hsession, LPCWSTR server, INTERNET_PO
connect->session = session;
list_add_head( &session->hdr.children, &connect->hdr.entry );
if (server && !(connect->hostname = strdupW( server ))) goto end;
if (!(connect->hostname = strdupW( server ))) goto end;
connect->hostport = port;
if (!set_server_for_hostname( connect, server, port ))