Changed some "register" methods to the proper "unregister" method. This is in a...
authorNorth Antara <north@ntbox.com>
Mon, 27 Mar 2006 21:13:54 +0000 (21:13 +0000)
committerNorth Antara <north@ntbox.com>
Mon, 27 Mar 2006 21:13:54 +0000 (21:13 +0000)
Thanks eliel.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15319 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_skinny.c

index 9b040de..cc5a753 100644 (file)
@@ -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