mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 22:30:28 +00:00
Fix small (yet big) bug in show_display
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -666,7 +666,7 @@ static int showdisplay(char *buf, char *name, int id, char *args, struct adsi_sc
|
|||||||
}
|
}
|
||||||
|
|
||||||
buf[0] = id;
|
buf[0] = id;
|
||||||
buf[1] = (cmd << 6) | (disp->id & 0x2f);
|
buf[1] = (cmd << 6) | (disp->id & 0x3f);
|
||||||
buf[2] = ((line & 0x1f) << 3) | (flag & 0x7);
|
buf[2] = ((line & 0x1f) << 3) | (flag & 0x7);
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user