diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-17 21:14:36 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-17 21:14:36 +0000 |
commit | dbbe7d15d58a0202ad07ca681720ddf2f472edd9 (patch) | |
tree | 97baa6c3d25383280024ab97a885dd2b9c01f439 | |
parent | 775fda427ae473178678e2f9cc3deb79ea9e6800 (diff) |
How is it that we never caught that this is returning the opposite of our documentation, until now?
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@64819 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | include/asterisk/linkedlists.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h index 3ac3bffa7..963f5a583 100644 --- a/include/asterisk/linkedlists.h +++ b/include/asterisk/linkedlists.h @@ -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) |