diff libfdcore/routing_dispatch.c @ 1119:79dd22145f52

Fix a number of compilation warnings
author Sebastien Decugis <sdecugis@freediameter.net>
date Tue, 14 May 2013 11:04:20 +0800
parents eb4ce68b6e5c
children c473581adff2
line wrap: on
line diff
--- a/libfdcore/routing_dispatch.c	Tue May 14 09:56:36 2013 +0800
+++ b/libfdcore/routing_dispatch.c	Tue May 14 11:04:20 2013 +0800
@@ -428,7 +428,7 @@
 static int msg_dispatch(struct msg * msg)
 {
 	struct msg_hdr * hdr;
-	int is_req = 0, ret;
+	int is_req = 0;
 	struct session * sess;
 	enum disp_action action;
 	char * ec = NULL;
@@ -1078,10 +1078,7 @@
 			CHECK_FCT_DO( ret, goto fatal_error );
 		}
 		
-		if (TRACE_BOOL(FULL)) {
-			TRACE_DEBUG(FULL, "Picked next message (%s)", action_name);
-			fd_msg_dump_one(ANNOYING, msg);
-		}
+		LOG_A("%s: Picked next message", action_name);
 
 		/* Now process the message */
 		CHECK_FCT_DO( (*action_cb)(msg), goto fatal_error);
"Welcome to our mercurial repository"