You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by mx...@apache.org on 2020/10/05 00:05:52 UTC
[tcl-rivet] branch master updated: forcing variable assignment in
condition
This is an automated email from the ASF dual-hosted git repository.
mxmanghi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git
The following commit(s) were added to refs/heads/master by this push:
new 8291d0c forcing variable assignment in condition
8291d0c is described below
commit 8291d0c65b7353a01c892f20b8adc201eae35dae
Author: Massimo Manghi <mx...@apache.org>
AuthorDate: Mon Oct 5 02:05:33 2020 +0200
forcing variable assignment in condition
---
ChangeLog | 3 +++
src/mod_rivet_ng/mod_rivet.c | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 6ed31e1..6d9e7ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2020-10-04 Massimo Manghi <mx...@apache.org>
+ * src/mod_rivet_ng/mod_rivet.c: forcing variable assignment in condition
+
2020-10-03 Massimo Manghi <mx...@apache.org>
* src/mod_rivet_ng/mod_rivet.c: Documenting the Rivet_SeekMPMBridge function
diff --git a/src/mod_rivet_ng/mod_rivet.c b/src/mod_rivet_ng/mod_rivet.c
index 7d1defc..a7b6681 100644
--- a/src/mod_rivet_ng/mod_rivet.c
+++ b/src/mod_rivet_ng/mod_rivet.c
@@ -109,7 +109,7 @@ Rivet_SeekMPMBridge (apr_pool_t* pool)
if (apr_env_get (&mpm_bridge_path,"RIVET_MPM_BRIDGE",pool) == APR_SUCCESS)
{
- if (apr_ret = apr_stat(&finfo,mpm_bridge_path,APR_FINFO_MIN,pool) != APR_SUCCESS)
+ if ((apr_ret = apr_stat(&finfo,mpm_bridge_path,APR_FINFO_MIN,pool)) != APR_SUCCESS)
{
ap_log_perror(APLOG_MARK,APLOG_ERR,apr_ret,pool,
MODNAME ": MPM bridge %s not found", module_globals->mpm_bridge);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tcl.apache.org
For additional commands, e-mail: commits-help@tcl.apache.org