[Freeswitch-svn] [commit] r1988 - in freeswitch/trunk/src: . include

Freeswitch SVN anthm at freeswitch.org
Wed Jul 19 14:34:29 EDT 2006


Author: anthm
Date: Wed Jul 19 14:34:28 2006
New Revision: 1988

Modified:
   freeswitch/trunk/src/include/switch_core.h
   freeswitch/trunk/src/switch_core.c

Log:
name change for c++ compate

Modified: freeswitch/trunk/src/include/switch_core.h
==============================================================================
--- freeswitch/trunk/src/include/switch_core.h	(original)
+++ freeswitch/trunk/src/include/switch_core.h	Wed Jul 19 14:34:28 2006
@@ -121,7 +121,7 @@
   \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

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Wed Jul 19 14:34:28 2006
@@ -2926,10 +2926,10 @@
 }
 
 
-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;



More information about the Freeswitch-svn mailing list