aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-17 21:14:36 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-17 21:14:36 +0000
commitdbbe7d15d58a0202ad07ca681720ddf2f472edd9 (patch)
tree97baa6c3d25383280024ab97a885dd2b9c01f439 /include
parent775fda427ae473178678e2f9cc3deb79ea9e6800 (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
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/linkedlists.h2
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)