diff options
author | North Antara <north@ntbox.com> | 2006-03-27 21:13:54 +0000 |
---|---|---|
committer | North Antara <north@ntbox.com> | 2006-03-27 21:13:54 +0000 |
commit | e9cf7dbfff16013dcf8734b42851cf221bbb8b9b (patch) | |
tree | f20b87815e20871812b3eb3332a9a8d5f4ef890b /channels/chan_skinny.c | |
parent | a5ece3388a82dcd27ee7d234891079709f6bea5b (diff) |
Changed some "register" methods to the proper "unregister" method. This is in a #if 0 block, but it may still be useful someday.
Thanks eliel.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_skinny.c')
-rw-r--r-- | channels/chan_skinny.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 9b040de83..cc5a7533f 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -3349,12 +3349,12 @@ int unload_module() return -1; } - ast_rtp_proto_register(&skinny_rtp); + ast_rtp_proto_unregister(&skinny_rtp); ast_channel_unregister(&skinny_tech); - ast_cli_register(&cli_show_devices); - ast_cli_register(&cli_show_lines); - ast_cli_register(&cli_debug); - ast_cli_register(&cli_no_debug); + ast_cli_unregister(&cli_show_devices); + ast_cli_unregister(&cli_show_lines); + ast_cli_unregister(&cli_debug); + ast_cli_unregister(&cli_no_debug); return 0; #endif |