typos.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@175 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
b928b60c87
commit
e5f0aba40b
|
@ -714,7 +714,7 @@ static const char *q931_error_names[] = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define Q931_MAX_ERROR 29
|
#define Q931_MAX_ERROR 30
|
||||||
|
|
||||||
const char *q931_error_to_name(q931_error_t error)
|
const char *q931_error_to_name(q931_error_t error)
|
||||||
{
|
{
|
||||||
|
|
|
@ -3017,14 +3017,14 @@ L3INT Q931Uie_GenericDigits(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *pMsg, L3U
|
||||||
Octet ++;
|
Octet ++;
|
||||||
|
|
||||||
/* Octet 4*/
|
/* Octet 4*/
|
||||||
if (pie->Type == 0) { /* BCD Even */
|
if (pie->Encoding == 0) { /* BCD Even */
|
||||||
x = 0;
|
x = 0;
|
||||||
do {
|
do {
|
||||||
pie->Digit[x++] = IBuf[Octet+Off] & 0x0f;
|
pie->Digit[x++] = IBuf[Octet+Off] & 0x0f;
|
||||||
pie->Digit[x++] = (IBuf[Octet+Off] >> 4) & 0x0f;
|
pie->Digit[x++] = (IBuf[Octet+Off] >> 4) & 0x0f;
|
||||||
Off++;
|
Off++;
|
||||||
} while (Q931MoreIE());
|
} while (Q931MoreIE());
|
||||||
} else if (pie->Type == 1) { /* BCD Odd */
|
} else if (pie->Encoding == 1) { /* BCD Odd */
|
||||||
x = 0;
|
x = 0;
|
||||||
do {
|
do {
|
||||||
pie->Digit[x++] = IBuf[Octet+Off] & 0x0f;
|
pie->Digit[x++] = IBuf[Octet+Off] & 0x0f;
|
||||||
|
@ -3034,7 +3034,7 @@ L3INT Q931Uie_GenericDigits(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *pMsg, L3U
|
||||||
x++;
|
x++;
|
||||||
Off++;
|
Off++;
|
||||||
} while (Q931MoreIE());
|
} while (Q931MoreIE());
|
||||||
} else if (pie->Type == 2) { /* IA5 */
|
} else if (pie->Encoding == 2) { /* IA5 */
|
||||||
x = 0;
|
x = 0;
|
||||||
do {
|
do {
|
||||||
pie->Digit[x++] = IBuf[Octet+Off] & 0x7f;
|
pie->Digit[x++] = IBuf[Octet+Off] & 0x7f;
|
||||||
|
|
Loading…
Reference in New Issue