Add ast_assert(), which can be used to handle fatal errors. It is only compiled
commitbc800f02d62e7a7bdb654d13a826410a91cfe34d
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Wed, 14 May 2008 21:32:00 +0000 (14 21:32 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Wed, 14 May 2008 21:32:00 +0000 (14 21:32 +0000)
treed36d7d542d0d6ba89c806a8acd12d366bd58a368
parent23c1a20bb6d5a12a42137798a5a3cb2a237f756b
Add ast_assert(), which can be used to handle fatal errors.  It is only compiled
in if dev-mode is enabled, and only aborts if DO_CRASH is defined.
(inspired by issue #12650)

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@116463 614ede4d-c843-0410-af14-a771ab80d22e
channels/chan_agent.c
include/asterisk/channel.h
include/asterisk/utils.h
main/abstract_jb.c
main/channel.c
main/rtp.c
main/sched.c
main/udptl.c