mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 16:58:35 +00:00
fix bug in switch_itodtmf from a8f5bf60a87fb27420846bd9d9af5e61f1f947d6
This commit is contained in:
parent
e0a0a56f24
commit
b53a684843
@ -189,10 +189,12 @@ static inline char switch_itodtmf(char i)
|
|||||||
char r = i;
|
char r = i;
|
||||||
|
|
||||||
if (i > 9 && i < 14) {
|
if (i > 9 && i < 14) {
|
||||||
r = i + 55;
|
r += 55;
|
||||||
|
} else {
|
||||||
|
r += 48;
|
||||||
}
|
}
|
||||||
|
|
||||||
return r + 48;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int switch_dtmftoi(char *s)
|
static inline int switch_dtmftoi(char *s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user