Skip to content
Snippets Groups Projects
Commit c379ae88 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

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

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent c0f2f5b5
Branches
Tags
No related merge requests found
......@@ -303,6 +303,7 @@ struct { \
__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 \
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment