[asterisk-bugs] [DAHDI-linux 0015178]: [patch] Typing error fo kewlstart.
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed May 27 10:05:17 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15178
======================================================================
Reported By: KrisV
Assigned To:
======================================================================
Project: DAHDI-linux
Issue ID: 15178
Category: dahdi (the module)
Reproducibility: N/A
Severity: minor
Priority: normal
Status: ready for testing
======================================================================
Date Submitted: 2009-05-22 05:02 CDT
Last Modified: 2009-05-27 10:05 CDT
======================================================================
Summary: [patch] Typing error fo kewlstart.
Description:
Dahdi 2.1.0.4:
dahdi_base.c/static int dahdi_q_sig(struct dahdi_chan *chan)
static const unsigned int in_sig[NUM_SIGS][2] = {
{ DAHDI_SIG_NONE, 0 },
{ DAHDI_SIG_EM, (DAHDI_ABIT << 8) },
{ DAHDI_SIG_FXSLS, DAHDI_BBIT | (DAHDI_BBIT << 8) },
{ DAHDI_SIG_FXSGS, DAHDI_ABIT | DAHDI_BBIT | ((DAHDI_ABIT | DAHDI_BBIT)
<< 8) },
{ DAHDI_SIG_FXSKS, DAHDI_BBIT | DAHDI_BBIT | ((DAHDI_ABIT | DAHDI_BBIT)
<< 8) },
{ DAHDI_SIG_FXOLS, (DAHDI_ABIT << 8) },
{ DAHDI_SIG_FXOGS, DAHDI_BBIT | ((DAHDI_ABIT | DAHDI_BBIT) << 8) },
{ DAHDI_SIG_FXOKS, (DAHDI_ABIT << 8) },
{ DAHDI_SIG_SF, 0 },
{ DAHDI_SIG_EM_E1, DAHDI_DBIT | ((DAHDI_ABIT | DAHDI_DBIT) << 8) },
};
1) Maybe { DAHDI_SIG_FXSKS, DAHDI_ABIT | DAHDI_BBIT | ((DAHDI_ABIT |
DAHDI_BBIT) << 8) },
instead of { DAHDI_SIG_FXSKS, DAHDI_BBIT | DAHDI_BBIT | ((DAHDI_ABIT |
DAHDI_BBIT) << 8) },
======================================================================
----------------------------------------------------------------------
(0105530) tzafrir (manager) - 2009-05-27 10:05
https://issues.asterisk.org/view.php?id=15178#c105530
----------------------------------------------------------------------
Looks like a typo but it has been in the code since r40 in 2001. Any chance
it actually serves some hidden purpose?
Issue History
Date Modified Username Field Change
======================================================================
2009-05-27 10:05 tzafrir Note Added: 0105530
======================================================================
More information about the asterisk-bugs
mailing list