mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 16:24:13 +00:00
oops
This commit is contained in:
1 parent
ce4fa8acfb
commit
d923f0f75c
1 file changed
+1
-1
@@ -211,7 +211,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_config_parse_event(switch_event_t *ev
|
||||
uint32_t uintval;
|
||||
if (value) {
|
||||
if (switch_is_number(value)) {
|
||||
uintval = (uint32_t) strtoll(value, 10);
|
||||
uintval = (uint32_t) strtoll(value, NULL, 10);
|
||||
} else {
|
||||
uintval = (uint32_t) (uintptr_t) item->defaultvalue;
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid value [%s] for parameter [%s], setting default [%u]\n",
|
||||
|
||||
Reference in new issue
Block a user