You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2021/03/23 15:25:34 UTC
svn commit: r1887965 - /httpd/httpd/trunk/modules/md/md_reg.c
Author: icing
Date: Tue Mar 23 15:25:34 2021
New Revision: 1887965
URL: http://svn.apache.org/viewvc?rev=1887965&view=rev
Log:
Fixing trace logging printf to have the correct args now that we number certs.
Modified:
httpd/httpd/trunk/modules/md/md_reg.c
Modified: httpd/httpd/trunk/modules/md/md_reg.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_reg.c?rev=1887965&r1=1887964&r2=1887965&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_reg.c (original)
+++ httpd/httpd/trunk/modules/md/md_reg.c Tue Mar 23 15:25:34 2021
@@ -637,7 +637,6 @@ apr_time_t md_reg_renew_at(md_reg_t *reg
const md_pubcert_t *pub;
const md_cert_t *cert;
md_timeperiod_t certlife, renewal;
- md_pkey_spec_t *spec;
int i;
apr_time_t renew_at = 0;
apr_status_t rv;
@@ -654,8 +653,8 @@ apr_time_t md_reg_renew_at(md_reg_t *reg
renewal = md_timeperiod_slice_before_end(&certlife, md->renew_window);
if (md_log_is_level(p, MD_LOG_TRACE1)) {
md_log_perror(MD_LOG_MARK, MD_LOG_TRACE2, 0, p,
- "md[%s]: certificate(%s) valid[%s] renewal[%s]",
- md->name, md_pkey_spec_name(spec),
+ "md[%s]: certificate(%d) valid[%s] renewal[%s]",
+ md->name, i,
md_timeperiod_print(p, &certlife),
md_timeperiod_print(p, &renewal));
}