if (rv == APR_SUCCESS) {
char *t;
apr_table_t *hbt = apr_table_make(pool, 10);
- apr_bucket_alloc_t *ba = apr_bucket_alloc_create(pool);
+ apr_bucket_alloc_t *ba;
apr_bucket_brigade *bb;
apr_bucket_brigade *tmpbb;
{
const apr_array_header_t *overlay_info = (const apr_array_header_t*)overlay_val;
const apr_array_header_t *base_info = (const apr_array_header_t*)base_val;
- apr_array_header_t *newspecs = apr_array_make(p, 2,
- sizeof(ap_lua_mapped_handler_spec *));
-
- newspecs = apr_array_append(p, base_info, overlay_info);
- return newspecs;
+ return apr_array_append(p, base_info, overlay_info);
}
static void *merge_dir_config(apr_pool_t *p, void *basev, void *overridesv)
else {
a->package_paths = overrides->package_paths;
a->package_cpaths = overrides->package_cpaths;
- a->package_cpaths = overrides->package_cpaths;
a->mapped_handlers= overrides->mapped_handlers;
a->hooks= overrides->hooks;
}