[asterisk-commits] kpfleming: trunk r46512 - in /trunk: ./
include/asterisk/linkedlists.h
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Oct 30 14:46:34 MST 2006
Author: kpfleming
Date: Mon Oct 30 15:46:34 2006
New Revision: 46512
URL: http://svn.digium.com/view/asterisk?rev=46512&view=rev
Log:
Merged revisions 46511 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46511 | kpfleming | 2006-10-30 15:46:07 -0600 (Mon, 30 Oct 2006) | 2 lines
ensure that items removed from a list are always unlinked from the list (next pointer set to NULL)
........
Modified:
trunk/ (props changed)
trunk/include/asterisk/linkedlists.h
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/include/asterisk/linkedlists.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/linkedlists.h?rev=46512&r1=46511&r2=46512&view=diff
==============================================================================
--- trunk/include/asterisk/linkedlists.h (original)
+++ trunk/include/asterisk/linkedlists.h Mon Oct 30 15:46:34 2006
@@ -354,6 +354,7 @@
previous entry, if any).
*/
#define AST_LIST_REMOVE_CURRENT(head, field) \
+ __new_prev->field.next = NULL; \
__new_prev = __list_prev; \
if (__list_prev) \
__list_prev->field.next = __list_next; \
More information about the asterisk-commits
mailing list