FreeBSD Bugzilla – Attachment 165128 Details for
Bug 205939
www/lighttpd-mod_*: Mark Un'BROKEN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
www/lighttpd-mod_* fix
file_205939.txt (text/plain), 1.49 KB, created by
Piotr Kubaj
on 2016-01-06 00:12:15 UTC
(
hide
)
Description:
www/lighttpd-mod_* fix
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2016-01-06 00:12:15 UTC
Size:
1.49 KB
patch
obsolete
>--- mod_geoip.c.orig 2016-01-03 12:41:11.040094106 +0100 >+++ mod_geoip.c 2016-01-03 12:38:08.485127032 +0100 >@@ -131,6 +131,7 @@ > p->config_storage = calloc(1, srv->config_context->used * >sizeof(specific_config *)); > > for (i = 0; i < srv->config_context->used; i++) { >+ data_config const* config = (data_config >const*)srv->config_context->data[i]; > plugin_config *s; > int mode; > >@@ -145,7 +146,7 @@ > > p->config_storage[i] = s; > >- if (0 != config_insert_values_global(srv, ((data_config >*)srv->config_context->data[i])->value, cv)) { >+ if (0 != config_insert_values_global(srv, config->value, cv, i == 0 ? >T_CONFIG_SCOPE_SERVER : T_CONFIG_SCOPE_CONNECTION)) { > return HANDLER_ERROR; > } > > >--- mod_h264_streaming.c.orig 2016-01-03 12:48:58.608064457 +0100 >+++ mod_h264_streaming.c 2016-01-03 12:50:19.298056672 +0100 >@@ -180,6 +180,7 @@ > p->config_storage = calloc(1, srv->config_context->used * >sizeof(specific_config *)); > > for (i = 0; i < srv->config_context->used; i++) { >+ data_config const* config = (data_config >const*)srv->config_context->data[i]; > plugin_config *s; > > s = calloc(1, sizeof(plugin_config)); >@@ -191,7 +192,7 @@ > > p->config_storage[i] = s; > >- if (0 != config_insert_values_global(srv, ((data_config >*)srv->config_context->data[i])->value, cv)) { >+ if (0 != config_insert_values_global(srv, config->value, cv, i == 0 >? T_CONFIG_SCOPE_SERVER : T_CONFIG_SCOPE_CONNECTION)) { > return HANDLER_ERROR; > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 205939
:
165128
|
165393