[svn-commits] tilghman: branch 1.2 r64819 - /branches/1.2/include/asterisk/linkedlists.h

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu May 17 14:14:37 MST 2007


Author: tilghman
Date: Thu May 17 16:14:36 2007
New Revision: 64819

URL: http://svn.digium.com/view/asterisk?view=rev&rev=64819
Log:
How is it that we never caught that this is returning the opposite of our documentation, until now?

Modified:
    branches/1.2/include/asterisk/linkedlists.h

Modified: branches/1.2/include/asterisk/linkedlists.h
URL: http://svn.digium.com/view/asterisk/branches/1.2/include/asterisk/linkedlists.h?view=diff&rev=64819&r1=64818&r2=64819
==============================================================================
--- branches/1.2/include/asterisk/linkedlists.h (original)
+++ branches/1.2/include/asterisk/linkedlists.h Thu May 17 16:14:36 2007
@@ -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) 



More information about the svn-commits mailing list