summaryrefslogtreecommitdiffstats
path: root/modules/md/md_reg.c
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2021-03-24 09:28:58 +0100
committerStefan Eissing <icing@apache.org>2021-03-24 09:28:58 +0100
commitb1ae175f07680940ed4345af4323bdc61f820cbb (patch)
tree7f022b8a8fd4bd74bd611e505314161673157f1b /modules/md/md_reg.c
parentFixing trace logging printf to have the correct args now that we number certs. (diff)
downloadapache2-b1ae175f07680940ed4345af4323bdc61f820cbb.tar.xz
apache2-b1ae175f07680940ed4345af4323bdc61f820cbb.zip
Resolving gcc's "error: too many arguments for format [-Werror=format-extra-args]".
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1887993 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/md/md_reg.c')
-rw-r--r--modules/md/md_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/md/md_reg.c b/modules/md/md_reg.c
index ca964c4b7b..7d61f0c5d4 100644
--- a/modules/md/md_reg.c
+++ b/modules/md/md_reg.c
@@ -576,7 +576,7 @@ apr_status_t md_reg_get_pubcert(const md_pubcert_t **ppubcert, md_reg_t *reg,
const md_pubcert_t *pubcert;
const char *name;
- name = apr_psprintf(p, "%s[%d]", md->name, i, NULL);
+ name = apr_psprintf(p, "%s[%d]", md->name, i);
pubcert = apr_hash_get(reg->certs, name, (apr_ssize_t)strlen(name));
if (!pubcert && !reg->domains_frozen) {
rv = md_util_pool_vdo(pubcert_load, reg, reg->p, &pubcert, MD_SG_DOMAINS, md, i, NULL);