aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_adsiprog.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-02 23:56:37 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-02 23:56:37 +0000
commit1a7e009b1b817f1e14341c15e92864ed45f31d57 (patch)
treedac64af4d26c9c922a6cecef68b3a554ff43685b /apps/app_adsiprog.c
parent6b06453f4441d31d72e51bbb2d7558712952819d (diff)
Fix small (yet big) bug in show_display
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2307 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_adsiprog.c')
-rwxr-xr-xapps/app_adsiprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_adsiprog.c b/apps/app_adsiprog.c
index 696b1cd77..7b6e06d50 100755
--- a/apps/app_adsiprog.c
+++ b/apps/app_adsiprog.c
@@ -666,7 +666,7 @@ static int showdisplay(char *buf, char *name, int id, char *args, struct adsi_sc
}
buf[0] = id;
- buf[1] = (cmd << 6) | (disp->id & 0x2f);
+ buf[1] = (cmd << 6) | (disp->id & 0x3f);
buf[2] = ((line & 0x1f) << 3) | (flag & 0x7);
return 3;
}