From d923f0f75c093dcda201110c83ec525bbdfa7b7d Mon Sep 17 00:00:00 2001 From: Eliot Gable Date: Tue, 23 Oct 2012 14:00:52 +0000 Subject: [PATCH] oops --- src/switch_xml_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_xml_config.c b/src/switch_xml_config.c index a6fdc55496..8b13f12fde 100644 --- a/src/switch_xml_config.c +++ b/src/switch_xml_config.c @@ -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",