diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-10 19:35:50 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-10 19:35:50 +0000 |
commit | 8cb986b936ea0cee5af2dccf467fe1fc5b89414b (patch) | |
tree | b4d1b3f66cf87177cb1c8a8ee596b6a9458f8f6c /main/astobj2.c | |
parent | 842faddb76b6fbcbd623292bf1656d76eb22f3a7 (diff) |
Another big chunk of changes from the RSW branch. Bunch of stuff from main/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137082 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/astobj2.c')
-rw-r--r-- | main/astobj2.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/main/astobj2.c b/main/astobj2.c index d8aaca168..c66501068 100644 --- a/main/astobj2.c +++ b/main/astobj2.c @@ -813,10 +813,10 @@ static void container_destruct(void *_c) _ao2_callback(c, OBJ_UNLINK, cd_cb, NULL); for (i = 0; i < c->n_buckets; i++) { - struct bucket_list *cur; + struct bucket_list *current; - while ((cur = AST_LIST_REMOVE_HEAD(&c->buckets[i], entry))) { - ast_free(cur); + while ((current = AST_LIST_REMOVE_HEAD(&c->buckets[i], entry))) { + ast_free(current); } } @@ -833,10 +833,10 @@ static void container_destruct_debug(void *_c) _ao2_callback_debug(c, OBJ_UNLINK, cd_cb_debug, NULL, "container_destruct_debug called", __FILE__, __LINE__, __PRETTY_FUNCTION__); for (i = 0; i < c->n_buckets; i++) { - struct bucket_list *cur; + struct bucket_list *current; - while ((cur = AST_LIST_REMOVE_HEAD(&c->buckets[i], entry))) { - ast_free(cur); + while ((current = AST_LIST_REMOVE_HEAD(&c->buckets[i], entry))) { + ast_free(current); } } |