Commit e1b916c1 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wininet: Return success from per connection option stubs. Fully initialize the value.

parent 347272b3
...@@ -2154,8 +2154,7 @@ DWORD INET_QueryOption(DWORD option, void *buffer, DWORD *size, BOOL unicode) ...@@ -2154,8 +2154,7 @@ DWORD INET_QueryOption(DWORD option, void *buffer, DWORD *size, BOOL unicode)
case INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_TIME: case INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_TIME:
case INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_URL: case INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_URL:
FIXME("Unhandled dwOption %d\n", option->dwOption); FIXME("Unhandled dwOption %d\n", option->dwOption);
option->Value.dwValue = 0; memset(&option->Value, 0, sizeof(option->Value));
res = ERROR_INVALID_PARAMETER;
break; break;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment