-
- Downloads
Change ast_hangup() to return void and be NULL safe.
Since ast_hangup() is effectively a channel destructor, it should be a void function. * Make the few silly callers checking the return value no longer do so. Only the CDR and CEL unit tests checked the return value. * Make all callers take advantage of the NULL safe change and remove the NULL check before the call. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- addons/chan_mobile.c 1 addition, 3 deletionsaddons/chan_mobile.c
- apps/app_meetme.c 2 additions, 4 deletionsapps/app_meetme.c
- apps/app_voicemail.c 1 addition, 3 deletionsapps/app_voicemail.c
- include/asterisk/channel.h 2 additions, 2 deletionsinclude/asterisk/channel.h
- main/channel.c 7 additions, 4 deletionsmain/channel.c
- main/dial.c 6 additions, 8 deletionsmain/dial.c
- main/features.c 3 additions, 9 deletionsmain/features.c
- tests/test_app.c 4 additions, 12 deletionstests/test_app.c
- tests/test_cdr.c 11 additions, 13 deletionstests/test_cdr.c
- tests/test_cel.c 5 additions, 11 deletionstests/test_cel.c
- tests/test_stasis_endpoints.c 4 additions, 12 deletionstests/test_stasis_endpoints.c
- tests/test_voicemail_api.c 4 additions, 12 deletionstests/test_voicemail_api.c
Loading
Please register or sign in to comment