diff options
author | north <north@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-27 21:13:54 +0000 |
---|---|---|
committer | north <north@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-27 21:13:54 +0000 |
commit | e018d37d8b1046e0251702675020e4a714dac16d (patch) | |
tree | f20b87815e20871812b3eb3332a9a8d5f4ef890b /channels/chan_skinny.c | |
parent | 7f2b0a39ea4bb48a13955fb3737b821ff4b0a1a5 (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: http://svn.digium.com/svn/asterisk/trunk@15319 f38db490-d61c-443f-a65b-d21fe96a405b
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 |