summaryrefslogtreecommitdiff
path: root/src/mod_vhostdb_dbi.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-01-21 17:58:22 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2019-01-21 17:58:22 -0500
commita929de7ae500f5e66a157a7b2e6b439617b001c2 (patch)
tree403761c6b85cc04b4557d54e90003d9874b276f7 /src/mod_vhostdb_dbi.c
parent69d17e04cd3c38235f2421b4dbfc42c734657587 (diff)
downloadlighttpd-git-a929de7ae500f5e66a157a7b2e6b439617b001c2.tar.gz
[multiple] calloc match ptr type (clang --analyze)
Diffstat (limited to 'src/mod_vhostdb_dbi.c')
-rw-r--r--src/mod_vhostdb_dbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_vhostdb_dbi.c b/src/mod_vhostdb_dbi.c
index fbb60393..0c78e12a 100644
--- a/src/mod_vhostdb_dbi.c
+++ b/src/mod_vhostdb_dbi.c
@@ -259,7 +259,7 @@ SETDEFAULTS_FUNC(mod_vhostdb_set_defaults) {
{ NULL, NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET }
};
- p->config_storage = calloc(1, srv->config_context->used * sizeof(specific_config *));
+ p->config_storage = calloc(1, srv->config_context->used * sizeof(plugin_config *));
for (size_t i = 0; i < srv->config_context->used; ++i) {
data_config const *config = (data_config const*)srv->config_context->data[i];