aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_zapbarge.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_zapbarge.c')
-rw-r--r--apps/app_zapbarge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_zapbarge.c b/apps/app_zapbarge.c
index 3fb62f94f..7f28f0679 100644
--- a/apps/app_zapbarge.c
+++ b/apps/app_zapbarge.c
@@ -131,7 +131,7 @@ static int conf_run(struct ast_channel *chan, int confno, int confflags)
goto outrun;
}
ast_indicate(chan, -1);
- retryzap = strcasecmp(chan->type, "Zap");
+ retryzap = strcasecmp(chan->tech->type, "Zap");
zapretry:
origfd = chan->fds[0];
if (retryzap) {