mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
make some more changes to the dahdi/zap channel name support stuff to ensure allthe globals are 'const', and clean up mmichelson's changes to app_chanspy to simplify the code
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@133226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -260,7 +260,7 @@ static int unload_module(void)
|
||||
{
|
||||
int res = 0;
|
||||
|
||||
if (dahdi_chan_mode == CHAN_DAHDI_PLUS_ZAP_MODE) {
|
||||
if (*dahdi_chan_mode == CHAN_DAHDI_PLUS_ZAP_MODE) {
|
||||
res |= ast_unregister_application(dahdi_app);
|
||||
}
|
||||
|
||||
@@ -275,7 +275,7 @@ static int load_module(void)
|
||||
{
|
||||
int res = 0;
|
||||
|
||||
if (dahdi_chan_mode == CHAN_DAHDI_PLUS_ZAP_MODE) {
|
||||
if (*dahdi_chan_mode == CHAN_DAHDI_PLUS_ZAP_MODE) {
|
||||
res |= ast_register_application(dahdi_app, exec, dahdi_synopsis, dahdi_descrip);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user