[sr-dev] git:jason.penton/kamailio_ims_extensions: modules:cdp

Jason Penton jason.penton at gmail.com
Tue Nov 8 13:03:27 CET 2011


Module: sip-router
Branch: jason.penton/kamailio_ims_extensions
Commit: 352b035a676c1abe2e6fb9312cc632946ef703f2
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=352b035a676c1abe2e6fb9312cc632946ef703f2

Author: Jason Penton <jason.penton at gmail.com>
Committer: Jason Penton <jason.penton at gmail.com>
Date:   Tue Nov  8 14:02:35 2011 +0200

modules:cdp
 - removed memlog - replaced with LM_DBG

---

 modules/cdp/diameter_peer.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/modules/cdp/diameter_peer.c b/modules/cdp/diameter_peer.c
index 9147eb1..7d73e93 100644
--- a/modules/cdp/diameter_peer.c
+++ b/modules/cdp/diameter_peer.c
@@ -477,8 +477,6 @@ int diameter_peer_start(int blocking)
 	return 1;
 }
 
-extern int memlog;
-
 /**
  * Shutdown the CDiameterPeer nicely.
  * It stops the workers, disconnects peers, drops timers and wait for all processes to exit.
@@ -572,14 +570,14 @@ void diameter_peer_destroy()
 	
 #else	
 	#ifdef PKG_MALLOC
-		LOG(memlog, "Memory status (pkg):\n");
+		LM_DBG("Memory status (pkg):\n");
 		//pkg_status();
 		#ifdef pkg_sums
 			pkg_sums();
 		#endif 
 	#endif
 	#ifdef SHM_MEM
-		LOG(memlog, "Memory status (shm):\n");
+		LM_DBG("Memory status (shm):\n");
 		//shm_status();
 		#ifdef shm_sums
 			shm_sums();




More information about the sr-dev mailing list