mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +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;
|
||||
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user