]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Change variable names inline with HEAD
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 27 Aug 2012 19:41:39 +0000 (20:41 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 27 Aug 2012 19:41:39 +0000 (20:41 +0100)
src/modules/rlm_cache/rlm_cache.c

index 235818e9bffb79b0dbbf89437a6060108669c1b3..fce9a79b611f06386ddc97dbe9567df921d5db59 100644 (file)
@@ -201,7 +201,7 @@ static rlm_cache_entry_t *cache_add(rlm_cache_t *inst, REQUEST *request,
 {
        int ttl;
        const char *attr, *p;
-       VALUE_PAIR *vp, **list;
+       VALUE_PAIR *vp, **vps;
        CONF_ITEM *ci;
        CONF_PAIR *cp;
        rlm_cache_entry_t *c;
@@ -243,19 +243,19 @@ static rlm_cache_entry_t *cache_add(rlm_cache_t *inst, REQUEST *request,
 
                if (strncmp(attr, "control:", 8) == 0) {
                        p = attr + 8;
-                       list = &c->control;
+                       vps = &c->control;
 
                } else if (strncmp(attr, "request:", 8) == 0) {
                        p = attr + 8;
-                       list = &c->request;
+                       vps = &c->request;
 
                } else if (strncmp(attr, "reply:", 6) == 0) {
                        p = attr + 6;
-                       list = &c->reply;
+                       vps = &c->reply;
 
                } else {
                        p = attr;
-                       list = &c->request;
+                       vps = &c->request;
                }
 
                /*
@@ -267,7 +267,7 @@ static rlm_cache_entry_t *cache_add(rlm_cache_t *inst, REQUEST *request,
                            request, NULL);
 
                vp = pairmake(p, buffer, cf_pair_operator(cp));
-               pairadd(list, vp);
+               pairadd(vps, vp);
        }
 
        if (!rbtree_insert(inst->cache, c)) {