[asterisk-commits] trunk r15897 - in /trunk: ./ include/asterisk/linkedlists.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 28 17:32:53 MST 2006


Author: kpfleming
Date: Tue Mar 28 18:32:52 2006
New Revision: 15897

URL: http://svn.digium.com/view/asterisk?rev=15897&view=rev
Log:
Merged revisions 15896 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r15896 | kpfleming | 2006-03-28 18:32:10 -0600 (Tue, 28 Mar 2006) | 2 lines

ensure that list traversal loops which skip entries properly update the 'previous entry' pointer so when entries _are_ removed the list does not get damaged

........

Modified:
    trunk/   (props changed)
    trunk/include/asterisk/linkedlists.h

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/include/asterisk/linkedlists.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/linkedlists.h?rev=15897&r1=15896&r2=15897&view=diff
==============================================================================
--- trunk/include/asterisk/linkedlists.h (original)
+++ trunk/include/asterisk/linkedlists.h Tue Mar 28 18:32:52 2006
@@ -303,6 +303,7 @@
 	      __list_next = (var) ? (var)->field.next : NULL;				\
 	     (var);									\
 	     __list_prev = __new_prev, (var) = __list_next,				\
+	     __new_prev = (var),							\
 	     __list_next = (var) ? (var)->field.next : NULL				\
 	    )
 



More information about the asterisk-commits mailing list