winhttp: Show discovery via DHCP not supported just one time.

This commit is contained in:
Jaime Rave 2012-06-30 16:41:54 -05:00 committed by Alexandre Julliard
parent 9e183990f2
commit 37431c5b88
1 changed files with 5 additions and 1 deletions

View File

@ -1194,7 +1194,11 @@ BOOL WINAPI WinHttpDetectAutoProxyConfigUrl( DWORD flags, LPWSTR *url )
set_last_error( ERROR_INVALID_PARAMETER ); set_last_error( ERROR_INVALID_PARAMETER );
return FALSE; return FALSE;
} }
if (flags & WINHTTP_AUTO_DETECT_TYPE_DHCP) FIXME("discovery via DHCP not supported\n"); if (flags & WINHTTP_AUTO_DETECT_TYPE_DHCP)
{
static int fixme_shown;
if (!fixme_shown++) FIXME("discovery via DHCP not supported\n");
}
if (flags & WINHTTP_AUTO_DETECT_TYPE_DNS_A) if (flags & WINHTTP_AUTO_DETECT_TYPE_DNS_A)
{ {
#ifdef HAVE_GETADDRINFO #ifdef HAVE_GETADDRINFO