diff freeDiameter/p_psm.c @ 228:dcb58243e91f

More cleanups
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 02 Mar 2010 14:58:19 +0900
parents 3caac3cd359d
children 965f5971dc23
line wrap: on
line diff
--- a/freeDiameter/p_psm.c	Tue Mar 02 14:17:15 2010 +0900
+++ b/freeDiameter/p_psm.c	Tue Mar 02 14:58:19 2010 +0900
@@ -187,7 +187,7 @@
 	if (old == new_state)
 		return 0;
 	
-	TRACE_DEBUG(FULL, "'%s'\t-> '%s'\t'%s'",
+	TRACE_DEBUG(((old == STATE_OPEN) || (new_state == STATE_OPEN)) ? INFO : FULL, "'%s'\t-> '%s'\t'%s'",
 			STATE_STR(old),
 			STATE_STR(new_state),
 			peer->p_hdr.info.pi_diamid);
"Welcome to our mercurial repository"