Zebediah Figura : httpapi: Stub HttpSetUrlGroupProperty(HttpServerLoggingProperty).
Alexandre Julliard
julliard at winehq.org
Mon Mar 2 16:22:22 CST 2020
Module: wine
Branch: master
Commit: 52c6070ea5e47d254253dea6f977746d3588e619
URL: https://source.winehq.org/git/wine.git/?a=commit;h=52c6070ea5e47d254253dea6f977746d3588e619
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Fri Feb 28 21:45:32 2020 -0600
httpapi: Stub HttpSetUrlGroupProperty(HttpServerLoggingProperty).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48530
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/httpapi/httpapi_main.c | 30 +++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)
diff --git a/dlls/httpapi/httpapi_main.c b/dlls/httpapi/httpapi_main.c
index 9904ed18db..6be4d11d35 100644
--- a/dlls/httpapi/httpapi_main.c
+++ b/dlls/httpapi/httpapi_main.c
@@ -657,25 +657,29 @@ ULONG WINAPI HttpCloseUrlGroup(HTTP_URL_GROUP_ID id)
ULONG WINAPI HttpSetUrlGroupProperty(HTTP_URL_GROUP_ID id, HTTP_SERVER_PROPERTY property, void *value, ULONG length)
{
struct url_group *group = get_url_group(id);
- const HTTP_BINDING_INFO *info = value;
TRACE("id %s, property %u, value %p, length %u.\n",
wine_dbgstr_longlong(id), property, value, length);
- if (property != HttpServerBindingProperty)
+ switch (property)
{
- FIXME("Unhandled property %u.\n", property);
- return ERROR_CALL_NOT_IMPLEMENTED;
- }
-
- TRACE("Binding to queue %p.\n", info->RequestQueueHandle);
-
- group->queue = info->RequestQueueHandle;
-
- if (group->url)
- add_url(group->queue, group->url, group->context);
+ case HttpServerBindingProperty:
+ {
+ const HTTP_BINDING_INFO *info = value;
- return ERROR_SUCCESS;
+ TRACE("Binding to queue %p.\n", info->RequestQueueHandle);
+ group->queue = info->RequestQueueHandle;
+ if (group->url)
+ add_url(group->queue, group->url, group->context);
+ return ERROR_SUCCESS;
+ }
+ case HttpServerLoggingProperty:
+ WARN("Ignoring logging property.\n");
+ return ERROR_SUCCESS;
+ default:
+ FIXME("Unhandled property %u.\n", property);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+ }
}
/***********************************************************************
More information about the wine-cvs
mailing list