changeset 288:beb9bde9a308

Add some temporary debug messages
author Sebastien Decugis <sdecugis@nict.go.jp>
date Mon, 22 Dec 2008 11:06:20 +0900
parents a51b0c820c5b
children 6537213b55b5
files waaad/peer-psm.c waaad/routing.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/waaad/peer-psm.c	Fri Dec 19 17:48:04 2008 +0900
+++ b/waaad/peer-psm.c	Mon Dec 22 11:06:20 2008 +0900
@@ -599,6 +599,9 @@
 				goto error;
 			} );
 		
+		TRACE_DEBUG(INFO, "Queueing the following message (%p) in g_meq_incoming:", msg);
+		msg_dump_walk(INFO, msg);
+				
 		/* Requeue in global queue */
 		CHECK_FCT_DO(  meq_post(g_meq_incoming, msg),  goto error  );
 		
--- a/waaad/routing.c	Fri Dec 19 17:48:04 2008 +0900
+++ b/waaad/routing.c	Mon Dec 22 11:06:20 2008 +0900
@@ -669,6 +669,7 @@
 				/* Ok the peer does not exist anymore, just discard the message */
 				log_error("Unable to forward answer to deleted peer '%d', message dropped.\n", qry_src);
 				msg_dump_walk(INFO, msg);
+				msg_dump_walk(INFO, qry);
 				msg_free(msg,1);
 				continue;
 			}
"Welcome to our mercurial repository"