diff options
author | Stefan Eissing <icing@apache.org> | 2019-10-25 14:40:50 +0200 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2019-10-25 14:40:50 +0200 |
commit | 29761d0a18294ec32dedaeba086ddc6a41f5bc0c (patch) | |
tree | 4788a2d0f9fcfcfce8ca40aa8024d341239f3182 /modules/md | |
parent | Fix a broken link and use more standard casing for On|Off (diff) | |
download | apache2-29761d0a18294ec32dedaeba086ddc6a41f5bc0c.tar.xz apache2-29761d0a18294ec32dedaeba086ddc6a41f5bc0c.zip |
mod_md: fixes compiler warning about initialization, version bumb.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1868927 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/md')
-rw-r--r-- | modules/md/md_version.h | 4 | ||||
-rw-r--r-- | modules/md/mod_md_drive.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/md/md_version.h b/modules/md/md_version.h index ebc4375cbf..bff92fcf5a 100644 --- a/modules/md/md_version.h +++ b/modules/md/md_version.h @@ -27,7 +27,7 @@ * @macro * Version number of the md module as c string */ -#define MOD_MD_VERSION "2.2.0" +#define MOD_MD_VERSION "2.2.1" /** * @macro @@ -35,7 +35,7 @@ * release. This is a 24 bit number with 8 bits for major number, 8 bits * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203. */ -#define MOD_MD_VERSION_NUM 0x020200 +#define MOD_MD_VERSION_NUM 0x020201 #define MD_ACME_DEF_URL "https://acme-v02.api.letsencrypt.org/directory" diff --git a/modules/md/mod_md_drive.c b/modules/md/mod_md_drive.c index e412479c6c..1191a5fc3d 100644 --- a/modules/md/mod_md_drive.c +++ b/modules/md/mod_md_drive.c @@ -71,7 +71,7 @@ struct md_renew_ctx_t { static void process_drive_job(md_renew_ctx_t *dctx, md_job_t *job, apr_pool_t *ptemp) { const md_t *md; - md_result_t *result; + md_result_t *result = NULL; apr_status_t rv; md_job_load(job); @@ -151,7 +151,7 @@ expiry: } leave: - if (job->dirty) { + if (job->dirty && result) { rv = md_job_save(job, result, ptemp); ap_log_error(APLOG_MARK, APLOG_TRACE1, rv, dctx->s, "%s: saving job props", job->mdomain); } |