]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
name change for c++ compate
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 19 Jul 2006 18:34:28 +0000 (18:34 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 19 Jul 2006 18:34:28 +0000 (18:34 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1988 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_core.h
src/switch_core.c

index 1ff6263798743024dd696adc0304d2ee3192f11e..d4e6f1421cc053bc2dbf346f5dcf8be6285812fc 100644 (file)
@@ -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
index 596b5e9aa08f5000b82c25c63bfc358146625272..7126abb0e290aaa5972fd0a6d94a897ba954acf0 100644 (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) {
-               runtime.session_limit = new;
+       if (new_limit) {
+               runtime.session_limit = new_limit;
        }
        
        return runtime.session_limit;