[sr-dev] git:master: mem: fixed MDBG() parameters

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 3 14:27:47 CEST 2012


Module: sip-router
Branch: master
Commit: 0193d296e39a9fc095e90682f5335a2907403474
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0193d296e39a9fc095e90682f5335a2907403474

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Oct  3 14:20:27 2012 +0200

mem: fixed MDBG() parameters

- log level is not necessary for this macro

---

 mem/f_malloc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mem/f_malloc.c b/mem/f_malloc.c
index 0349585..008874b 100644
--- a/mem/f_malloc.c
+++ b/mem/f_malloc.c
@@ -509,7 +509,7 @@ void fm_free(struct fm_block* qm, void* p)
 	MDBG("fm_free(%p, %p), called from %s: %s(%d)\n", qm, p, file, func, line);
 #endif
 	if (p==0) {
-		MDBG(L_WARN, "WARNING:fm_free: free(0) called\n");
+		MDBG("WARNING:fm_free: free(0) called\n");
 		return;
 	}
 #ifdef DBG_F_MALLOC




More information about the sr-dev mailing list