"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mem/common.c" between
opensips-3.2.0-rc1.tar.gz and opensips-3.2.0.tar.gz

About: OpenSIPS is a multi-functional, multi-purpose signaling SIP Server (Session Initiation Protocol). It can act as SIP Router/Switch, SIP Registrar, Application Server, Redirect Server, Load Balancer / Dispatcher, Back-to-Back User Agent, Presence Server, IM Server, Session Border Controller, SIP Front-End, NAT traversal Server, IP Gateway (SMS, XMPP) and others.

common.c  (opensips-3.2.0-rc1):common.c  (opensips-3.2.0)
skipping to change at line 28 skipping to change at line 28
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <strings.h> #include <strings.h>
#include "common.h" #include "common.h"
#include "../dprint.h" #include "../dprint.h"
enum osips_mm mem_allocator = MM_Q_MALLOC_DBG; enum osips_mm mem_allocator = MM_F_MALLOC;
/* returns -1 if @mm_name is unrecognized */ /* returns -1 if @mm_name is unrecognized */
int set_global_mm(const char *mm_name) int set_global_mm(const char *mm_name)
{ {
#ifdef INLINE_ALLOC #ifdef INLINE_ALLOC
LM_NOTICE("this is an inlined allocator build (see opensips -V), " LM_NOTICE("this is an inlined allocator build (see opensips -V), "
"cannot set a custom memory allocator (%s)\n", mm_name); "cannot set a custom memory allocator (%s)\n", mm_name);
return 0; return 0;
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)