Minor linked lists bug fix. When you're dealing with swapping entries around a lot it can cause a seg fault.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2006-04-11 20:46:38 +00:00
parent 95dc3bba01
commit fb912bc629

View File

@@ -439,6 +439,7 @@ struct { \
if ((head)->last == (elm)) \
(head)->last = curelm; \
} \
(elm)->field.next = NULL; \
} while (0)
#endif /* _ASTERISK_LINKEDLISTS_H */