diff src/core/ngx_hunk.c @ 239:574bea0142be

nginx-0.0.1-2004-01-26-11:52:49 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Jan 2004 08:52:49 +0000
parents 0b67be7d4489
children 87e73f067470
line wrap: on
line diff
--- a/src/core/ngx_hunk.c
+++ b/src/core/ngx_hunk.c
@@ -98,15 +98,15 @@ int ngx_chain_add_copy(ngx_pool_t *pool,
 void ngx_chain_update_chains(ngx_chain_t **free, ngx_chain_t **busy,
                              ngx_chain_t **out, ngx_hunk_tag_t tag)
 {
-    ngx_chain_t  *te;
+    ngx_chain_t  *tl;
 
     if (*busy == NULL) {
         *busy = *out;
 
     } else {
-        for (te = *busy; /* void */ ; te = te->next) {
-            if (te->next == NULL) {
-                te->next = *out;
+        for (tl = *busy; /* void */ ; tl = tl->next) {
+            if (tl->next == NULL) {
+                tl->next = *out;
                 break;
             }
         }
@@ -132,9 +132,9 @@ void ngx_chain_update_chains(ngx_chain_t
 
         (*busy)->hunk->pos = (*busy)->hunk->last = (*busy)->hunk->start;
 
-        te = *busy;
+        tl = *busy;
         *busy = (*busy)->next;
-        te->next = *free;
-        *free = te;
+        tl->next = *free;
+        *free = tl;
     }
 }