]> granicus.if.org Git - apache/commitdiff
grammatical parameter change... "readed" -> "read"
authorJim Jagielski <jim@apache.org>
Tue, 14 Dec 2004 16:08:55 +0000 (16:08 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 14 Dec 2004 16:08:55 +0000 (16:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111830 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.c
modules/proxy/mod_proxy.h
modules/proxy/proxy_ajp.c
modules/proxy/proxy_http.c

index ec4444e7b415deb476b689920235a9ca9b95a8a9..e2fcb78f19b216299be7e48d106a75fdd6b97143 100644 (file)
@@ -1726,7 +1726,7 @@ static int proxy_status_hook(request_rec *r, int flags)
             ap_rprintf(r, "<td>%d</td><td>", (int)(worker->s->elected));
             ap_rputs(apr_strfsize(worker->s->transfered, fbuf), r);
             ap_rputs("</td><td>", r);
-            ap_rputs(apr_strfsize(worker->s->readed, fbuf), r);
+            ap_rputs(apr_strfsize(worker->s->read, fbuf), r);
             ap_rputs("</td>\n", r);
 
             /* TODO: Add the rest of dynamic worker data */
@@ -1748,7 +1748,7 @@ static int proxy_status_hook(request_rec *r, int flags)
              "<tr><th>F</th><td>Load Balancer Factor in %</td></tr>\n"
              "<tr><th>Acc</th><td>Number of requests</td></tr>\n"
              "<tr><th>Wr</th><td>Number of bytes transfered</td></tr>\n"
-             "<tr><th>Rd</th><td>Number of bytes readed</td></tr>\n"
+             "<tr><th>Rd</th><td>Number of bytes read</td></tr>\n"
              "</table>", r);
 
     return OK;
index c84c48bee14ba4f339c626c78e714ddfdc02e045..4286cd1679e9d5709200e25eff14ad8ae90afc87 100644 (file)
@@ -243,7 +243,7 @@ typedef struct {
     int             lbstatus;   /* Current lbstatus */
     int             lbfactor;   /* dynamic lbfactor */
     apr_off_t       transfered; /* Number of bytes transfered to remote */
-    apr_off_t       readed;     /* Number of bytes readed from remote */
+    apr_off_t       read;       /* Number of bytes read from remote */
     apr_size_t      elected;    /* Number of times the worker was elected */
     char            route[PROXY_WORKER_MAX_ROUTE_SIZ+1];
     char            redirect[PROXY_WORKER_MAX_ROUTE_SIZ+1];
index 13c9b102cf28abf6f7971720145ca5d3644e0241..a8fe033e044824cf0fd6a50abf88e6606f91374f 100644 (file)
@@ -309,7 +309,7 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r,
 
     apr_brigade_length(output_brigade, 0, &bb_len);
     if (bb_len != -1)
-        conn->worker->s->readed += bb_len;
+        conn->worker->s->read += bb_len;
 
     if (!isok)
         apr_brigade_destroy(output_brigade);
index 8200c8f1ca8a11728c9fc08c85feecc815b6e293..46bc741ccf489ca6136d49ce9ff29ea80695747c 100644 (file)
@@ -826,7 +826,7 @@ apr_status_t ap_proxy_http_process_response(apr_pool_t * p, request_rec *r,
                                  "Error reading from remote server");
         }
         /* XXX: Is this a real headers length send from remote? */
-        backend->worker->s->readed += len;
+        backend->worker->s->read += len;
 
        /* Is it an HTTP/1 response?
         * This is buggy if we ever see an HTTP/1.10
@@ -1057,7 +1057,7 @@ apr_status_t ap_proxy_http_process_response(apr_pool_t * p, request_rec *r,
                     mode = APR_NONBLOCK_READ;
                     
                     apr_brigade_length(bb, 0, &readbytes);
-                    backend->worker->s->readed += readbytes;
+                    backend->worker->s->read += readbytes;
 #if DEBUGGING
                     {
                     ap_log_error(APLOG_MARK, APLOG_DEBUG, 0,