diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-08 21:31:06 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-08 21:31:06 +0000 |
commit | 02cd3d9528af67849b04f1d88c6753ac2423d7f0 (patch) | |
tree | e289bb8bfb770511e6a00071dcb2d3027feda28f /main/threadstorage.c | |
parent | dedd2f770b7eec37b0a7af1ca2aee1ca95e9df74 (diff) |
AST_LIST_REMOVE_CURRENT takes only one argument.
Thanks to snuffy for pointing this out on IRC
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89122 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/threadstorage.c')
-rw-r--r-- | main/threadstorage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/threadstorage.c b/main/threadstorage.c index 01bab356b..a03f3c98b 100644 --- a/main/threadstorage.c +++ b/main/threadstorage.c @@ -78,7 +78,7 @@ void __ast_threadstorage_object_remove(void *key) AST_RWLIST_WRLOCK(&tls_objects); AST_LIST_TRAVERSE_SAFE_BEGIN(&tls_objects, to, entry) { if (to->key == key) { - AST_LIST_REMOVE_CURRENT(&tls_objects, entry); + AST_LIST_REMOVE_CURRENT(entry); break; } } |