aboutsummaryrefslogtreecommitdiffstats
path: root/main/lighttpd/config_insert_values_global.patch
blob: af9fc7778abc36ddc36cc36b7a84115322620fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- old/src/mod_h264_streaming.c
+++ new/src/mod_h264_streaming.c
@@ -168,7 +168,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, ((data_config *)srv->config_context->data[i])->value, cv, i == 0 ? T_CONFIG_SCOPE_SERVER : T_CONFIG_SCOPE_CONNECTION)) {
       return HANDLER_ERROR;
     }
   }