aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-17 20:13:40 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-17 20:13:40 +0000
commitf4a5d593628f3296611859f69ff24ee3d95535da (patch)
tree44c03bd656930ad4b36b921854685fd0ab516452 /apps
parentb1ec7dcbc319fea646ab8eef1ce6f1116a3ffa80 (diff)
Allow dahdichanname to work as advertised.
(closes issue #14056) Reported by: dsedivec Patches: load_from_zapata_conf.patch uploaded by dsedivec (license 638) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@182652 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_flash.c b/apps/app_flash.c
index 813294583..2e980fd4c 100644
--- a/apps/app_flash.c
+++ b/apps/app_flash.c
@@ -126,7 +126,7 @@ static int unload_module(void)
static int load_module(void)
{
- if (dahdi_chan_mode == CHAN_ZAP_MODE) {
+ if (*dahdi_chan_mode == CHAN_ZAP_MODE) {
return ast_register_application(app, flash_exec, zap_synopsis, zap_descrip);
} else {
return ast_register_application(app, flash_exec, dahdi_synopsis, dahdi_descrip);