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:
Anthony Minessale 2006-07-19 18:34:28 +00:00
parent 4aa4687836
commit 72d0128f95
2 changed files with 4 additions and 4 deletions

View File

@ -121,7 +121,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(char *console, const char **err
\param new new value (if > 0) \param new new value (if > 0)
\return the current session limit \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 \brief Destroy the core

View File

@ -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) { if (new_limit) {
runtime.session_limit = new; runtime.session_limit = new_limit;
} }
return runtime.session_limit; return runtime.session_limit;