Merged revisions 328717 via svnmerge from
authorTerry Wilson <twilson@digium.com>
Tue, 19 Jul 2011 02:00:56 +0000 (02:00 +0000)
committerTerry Wilson <twilson@digium.com>
Tue, 19 Jul 2011 02:00:56 +0000 (02:00 +0000)
commitc26bb50cc35bc3d937d1b22fb52b39b29e3b41f4
tree27f73e9426b6d38b1604a81193cbc60e31ad6266
parent3719ee2d654c8277f21719c80f31e7615515a84e
Merged revisions 328717 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328717 | twilson | 2011-07-18 20:55:32 -0500 (Mon, 18 Jul 2011) | 14 lines

  Merged revisions 328716 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328716 | twilson | 2011-07-18 20:35:53 -0500 (Mon, 18 Jul 2011) | 7 lines

    Make AST_LIST_REMOVE safer

    AST_LIST_REMOVE shouldn't modify the element passed in if it isn't found. This
    commit also adds linked list unit tests.

    Review: https://reviewboard.asterisk.org/r/1321/
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@328718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/linkedlists.h
tests/test_linkedlists.c [new file with mode: 0644]