"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/osipparser2/osip_port.c" between
libosip2-5.2.0.tar.gz and libosip2-5.2.1.tar.gz

About: The GNU oSIP library is an implementation of SIP (RFC3261).

osip_port.c  (libosip2-5.2.0):osip_port.c  (libosip2-5.2.1)
skipping to change at line 1296 skipping to change at line 1296
strncpy((char *) mem + 2, s, 18); strncpy((char *) mem + 2, s, 18);
return (char *) mem + 20; return (char *) mem + 20;
} }
return NULL; return NULL;
} }
#endif #endif
#if 0 /* for windows test purpose */ #ifdef OSIP_MEMORY_DEBUG
/* for windows test purpose */
#define _CRTDBG_MAP_ALLOC #define _CRTDBG_MAP_ALLOC
#include <crtdbg.h> #include <crtdbg.h>
/* /*
This is a debug facility for detecting memory leaks. This is a debug facility for detecting memory leaks.
I recommend to use external tools such as mpatrol I recommend to use external tools such as mpatrol
when possible. On some fancy platform, you may not when possible. On some fancy platform, you may not
have any usefull tools: in this case, use this code! have any usefull tools: in this case, use this code!
*/ */
void *_osip_malloc(size_t size, char *file, unsigned short line) { void *_osip_malloc(size_t size, char *file, unsigned short line) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

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