diff options
author | Sean Bright <sean@malleable.com> | 2008-08-10 19:35:50 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2008-08-10 19:35:50 +0000 |
commit | b69c8e6ab5b5d20a964d67e93cda8dc07da61fa4 (patch) | |
tree | b4d1b3f66cf87177cb1c8a8ee596b6a9458f8f6c /main/acl.c | |
parent | 3ffb39833b25a02108214d7584733bc6b9c334df (diff) |
Another big chunk of changes from the RSW branch. Bunch of stuff from main/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/acl.c')
-rw-r--r-- | main/acl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/acl.c b/main/acl.c index 54747de5f..0787274ab 100644 --- a/main/acl.c +++ b/main/acl.c @@ -246,18 +246,18 @@ struct ast_ha *ast_duplicate_ha_list(struct ast_ha *original) { struct ast_ha *start = original; struct ast_ha *ret = NULL; - struct ast_ha *link, *prev = NULL; + struct ast_ha *current, *prev = NULL; while (start) { - link = ast_duplicate_ha(start); /* Create copy of this object */ + current = ast_duplicate_ha(start); /* Create copy of this object */ if (prev) - prev->next = link; /* Link previous to this object */ + prev->next = current; /* Link previous to this object */ if (!ret) - ret = link; /* Save starting point */ + ret = current; /* Save starting point */ start = start->next; /* Go to next object */ - prev = link; /* Save pointer to this object */ + prev = current; /* Save pointer to this object */ } return ret; /* Return start of list */ } |