if(SGetSBuf(region, pool, ptr, size) == ROK)
{
#ifdef ODU_MEMORY_DEBUG_LOG
- printf("\nCM_ALLOC=== SGetSBufNewForDebug %s +%d, %s, %d, %p\n",\
+ if (strncmp(func,"cmInetRecvMsg",sizeof("cmInetRecvMsg")))
+ {
+ printf("\nCM_ALLOC=== SGetSBufNewForDebug %s +%d, %s, %d, %p\n",\
file, line, func, size, *ptr);
+ }
#endif
return ROK;
}
if(SPutSBuf(region, pool, ptr, size) == ROK)
{
#ifdef ODU_MEMORY_DEBUG_LOG
- printf("\nCM_FREE=== SPutSBufNewForDebug %s +%d, %s, %d, %p\n",\
+ if (strncmp(func,"cmInetRecvMsg",sizeof("cmInetRecvMsg")))
+ {
+ printf("\nCM_FREE=== SPutSBufNewForDebug %s +%d, %s, %d, %p\n",\
file, line, func, size, ptr);
+ }
#endif
return ROK;
}