Hans Leidekker : wininet: Return success from per connection option stubs. Fully initialize the value.
Alexandre Julliard
julliard at winehq.org
Thu Jan 29 09:15:47 CST 2009
Module: wine
Branch: master
Commit: e1b916c1428647ca0c41b755856e520877cc5f6a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e1b916c1428647ca0c41b755856e520877cc5f6a
Author: Hans Leidekker <hans at codeweavers.com>
Date: Thu Jan 29 14:32:16 2009 +0100
wininet: Return success from per connection option stubs. Fully initialize the value.
---
dlls/wininet/internet.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index 6f67c3d..363f7a4 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -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_URL:
FIXME("Unhandled dwOption %d\n", option->dwOption);
- option->Value.dwValue = 0;
- res = ERROR_INVALID_PARAMETER;
+ memset(&option->Value, 0, sizeof(option->Value));
break;
default:
More information about the wine-cvs
mailing list