projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4187a7
)
AST_LIST_REMOVE_CURRENT takes only one argument.
author
Mark Michelson
<mmichelson@digium.com>
Thu, 8 Nov 2007 21:31:06 +0000
(21:31 +0000)
committer
Mark Michelson
<mmichelson@digium.com>
Thu, 8 Nov 2007 21:31:06 +0000
(21:31 +0000)
Thanks to snuffy for pointing this out on IRC
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89122
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/threadstorage.c
patch
|
blob
|
history
diff --git
a/main/threadstorage.c
b/main/threadstorage.c
index
01bab35
..
a03f3c9
100644
(file)
--- 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;
}
}