mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
FS-7500: forgot one
This commit is contained in:
parent
1bb8c0a8fc
commit
f7fb5fbff3
@ -982,7 +982,7 @@ static inline uint32_t switch_parse_bandwidth_string(const char *bwv)
|
||||
|
||||
if (!bwv) return 0;
|
||||
|
||||
if (bwv && (bw = (uint32_t) atol(bwv))) {
|
||||
if (bwv && (bw = (int32_t) atol(bwv))) {
|
||||
if (bw < 0) return 0;
|
||||
|
||||
if (switch_stristr("KB", bwv)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user