From b2f84c347f51b787be06f2cb9d6af71f1b5ae8f3 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Thu, 17 May 2007 21:14:36 +0000 Subject: [PATCH] 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 --- include/asterisk/linkedlists.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h index 3ac3bffa7d..963f5a583f 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) -- 2.47.2