How is it that we never caught that this is returning the opposite of our documentation, until now?

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@64819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2
Tilghman Lesher 18 years ago
parent dfd24c33d2
commit b2f84c347f

@ -33,7 +33,7 @@
This macro attempts to place an exclusive lock in the
list head structure pointed to by head.
Returns non-zero on success, 0 on failure
Returns 0 on success, non-zero on failure
*/
#define AST_LIST_LOCK(head) \
ast_mutex_lock(&(head)->lock)

Loading…
Cancel
Save