mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-13 06:44:14 +00:00
FS-7500: forgot one
This commit is contained in:
1 parent
1bb8c0a8fc
commit
f7fb5fbff3
1 file changed
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user