comparison freeDiameter/p_out.c @ 61:442f9cf1c704

Dump messages being sent
author Sebastien Decugis <sdecugis@nict.go.jp>
date Mon, 30 Nov 2009 15:42:52 +0900
parents cc3c59fe98fe
children 57ffd98dbe96
comparison
equal deleted inserted replaced
60:04ae89829faa 61:442f9cf1c704
53 if (msg_is_a_req) { 53 if (msg_is_a_req) {
54 CHECK_PARAMS(hbh && srl); 54 CHECK_PARAMS(hbh && srl);
55 /* Alloc the hop-by-hop id and increment the value for next message */ 55 /* Alloc the hop-by-hop id and increment the value for next message */
56 hdr->msg_hbhid = *hbh; 56 hdr->msg_hbhid = *hbh;
57 *hbh = hdr->msg_hbhid + 1; 57 *hbh = hdr->msg_hbhid + 1;
58 }
59
60 /* Log the message */
61 if (TRACE_BOOL(FULL)) {
62 TRACE_DEBUG(FULL, "Sending the following message on connection '%s':", fd_cnx_getid(cnx));
63 fd_msg_dump_walk(FULL, *msg);
58 } 64 }
59 65
60 /* Create the message buffer */ 66 /* Create the message buffer */
61 CHECK_FCT(fd_msg_bufferize( *msg, &buf, &sz )); 67 CHECK_FCT(fd_msg_bufferize( *msg, &buf, &sz ));
62 68
"Welcome to our mercurial repository"