forked from Mirrors/freeswitch
name change for c++ compate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1988 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
4aa4687836
commit
72d0128f95
@ -121,7 +121,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(char *console, const char **err
|
||||
\param new new value (if > 0)
|
||||
\return the current session limit
|
||||
*/
|
||||
SWITCH_DECLARE(uint32_t) switch_core_session_limit(uint32_t new);
|
||||
SWITCH_DECLARE(uint32_t) switch_core_session_limit(uint32_t new_limit);
|
||||
|
||||
/*!
|
||||
\brief Destroy the core
|
||||
|
@ -2926,10 +2926,10 @@ SWITCH_DECLARE(void) switch_core_set_globals(void)
|
||||
}
|
||||
|
||||
|
||||
SWITCH_DECLARE(uint32_t) switch_core_session_limit(uint32_t new)
|
||||
SWITCH_DECLARE(uint32_t) switch_core_session_limit(uint32_t new_limit)
|
||||
{
|
||||
if (new) {
|
||||
runtime.session_limit = new;
|
||||
if (new_limit) {
|
||||
runtime.session_limit = new_limit;
|
||||
}
|
||||
|
||||
return runtime.session_limit;
|
||||
|
Loading…
Reference in New Issue
Block a user