aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dahdiras.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-23 20:42:30 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-23 20:42:30 +0000
commit8ec1a1b17cbd659efff717d65267cd0c055d19f9 (patch)
treed1921955cd0d82c5d4d7ee8e54d46a601d82725d /apps/app_dahdiras.c
parent69b8561975b4ad4220bba79e25eb746e9893df2e (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@133226 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dahdiras.c')
-rw-r--r--apps/app_dahdiras.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_dahdiras.c b/apps/app_dahdiras.c
index 1012a5fbe..9c92cda32 100644
--- a/apps/app_dahdiras.c
+++ b/apps/app_dahdiras.c
@@ -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);
}