httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r1847234 - /httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Date Fri, 23 Nov 2018 09:36:36 GMT
Author: jfclere
Date: Fri Nov 23 09:36:36 2018
New Revision: 1847234

URL: http://svn.apache.org/viewvc?rev=1847234&view=rev
Log:
fix incorrect rv. Sorry.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c?rev=1847234&r1=1847233&r2=1847234&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c Fri Nov 23 09:36:36 2018
@@ -1412,7 +1412,7 @@ static int balancer_handler(request_rec
                     /* by default, all new workers are disabled */
                     ap_proxy_set_wstatus(PROXY_WORKER_DISABLED_FLAG, 1, nworker);
                 } else {
-                            ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01207)
+                            ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01207)
                                   "%s: failed to add worker %s",
                                   bsel->s->name, val);
                     PROXY_GLOBAL_UNLOCK(bsel);
@@ -1424,7 +1424,7 @@ static int balancer_handler(request_rec
                                   bsel->s->name);
                 }
             } else {
-                ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01207)
+                ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01207)
                                   "%s: failed to add worker %s",
                                   bsel->s->name, val);
                 return HTTP_BAD_REQUEST;



Mime
View raw message