httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_util.c
Date Fri, 13 Aug 2004 12:20:54 GMT
trawick     2004/08/13 05:20:53

  Modified:    modules/proxy proxy_util.c
  Log:
  axe some unused variables and don't log an error code that
  hasn't been initialized
  
  Revision  Changes    Path
  1.135     +1 -4      httpd-2.0/modules/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_util.c,v
  retrieving revision 1.134
  retrieving revision 1.135
  diff -u -r1.134 -r1.135
  --- proxy_util.c	11 Aug 2004 23:30:54 -0000	1.134
  +++ proxy_util.c	13 Aug 2004 12:20:53 -0000	1.135
  @@ -1408,7 +1408,6 @@
                                             apr_pool_t *pool)
   {
       proxy_conn_rec *conn = (proxy_conn_rec *)resource;
  -    server_rec *s = (server_rec *)params;
       
   #if 0
       if (conn->sock)
  @@ -1541,7 +1540,7 @@
           ap_proxy_retry_worker(proxy_function, worker, s);
       
           if (!PROXY_WORKER_IS_USABLE(worker)) {
  -            ap_log_error(APLOG_MARK, APLOG_ERR, rv, s,
  +            ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
                            "proxy: %s: disabled connection for (%s)",
                            proxy_function, worker->hostname);
               return HTTP_SERVICE_UNAVAILABLE;
  @@ -1583,8 +1582,6 @@
                                                  proxy_conn_rec *conn,
                                                  server_rec *s)
   {
  -    apr_status_t rv = APR_SUCCESS;
  -
       ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
                    "proxy: %s: has relesed connection for (%s)",
                    proxy_function, conn->worker->hostname);
  
  
  

Mime
View raw message