Mercurial > hg > freeDiameter
comparison freeDiameter/p_psm.c @ 266:f404b5f84d7b
Dump complete received messages at FULL+1 level
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Mon, 19 Apr 2010 12:12:11 +0900 |
parents | 9e10e3d72da3 |
children | ba39f4afd45d |
comparison
equal
deleted
inserted
replaced
265:9e10e3d72da3 | 266:f404b5f84d7b |
---|---|
388 CHECK_FCT_DO( fd_event_send(peer->p_events, FDEVP_CNX_ERROR, 0, NULL), goto psm_reset ); | 388 CHECK_FCT_DO( fd_event_send(peer->p_events, FDEVP_CNX_ERROR, 0, NULL), goto psm_reset ); |
389 goto psm_loop; | 389 goto psm_loop; |
390 } ); | 390 } ); |
391 | 391 |
392 TRACE_DEBUG(FULL, "Received a message (%zdb) from '%s'", ev_sz, peer->p_hdr.info.pi_diamid); | 392 TRACE_DEBUG(FULL, "Received a message (%zdb) from '%s'", ev_sz, peer->p_hdr.info.pi_diamid); |
393 fd_msg_dump_walk(FULL, msg); | 393 if (TRACE_BOOL(FULL+1)) { |
394 CHECK_FCT_DO( fd_msg_parse_dict( msg, fd_g_config->cnf_dict, NULL ), ); | |
395 fd_msg_dump_walk(FULL, msg); | |
396 } else { | |
397 fd_msg_dump_one(FULL, msg); | |
398 } | |
394 | 399 |
395 /* Extract the header */ | 400 /* Extract the header */ |
396 CHECK_FCT_DO( fd_msg_hdr(msg, &hdr), goto psm_end ); | 401 CHECK_FCT_DO( fd_msg_hdr(msg, &hdr), goto psm_end ); |
397 | 402 |
398 /* If it is an answer, associate with the request or drop */ | 403 /* If it is an answer, associate with the request or drop */ |