[asterisk-commits] trunk r15319 - /trunk/channels/chan_skinny.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Mar 27 14:13:57 MST 2006


Author: north
Date: Mon Mar 27 15:13:54 2006
New Revision: 15319

URL: http://svn.digium.com/view/asterisk?rev=15319&view=rev
Log:
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.

Modified:
    trunk/channels/chan_skinny.c

Modified: trunk/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_skinny.c?rev=15319&r1=15318&r2=15319&view=diff
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Mon Mar 27 15:13:54 2006
@@ -3349,12 +3349,12 @@
 		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



More information about the asterisk-commits mailing list