comparison freeDiameter/p_out.c @ 35:6486e97f56ae

Added test for modified message parsing
author Sebastien Decugis <sdecugis@nict.go.jp>
date Mon, 02 Nov 2009 14:54:42 +0900
parents 0e2b57789361
children cc3c59fe98fe
comparison
equal deleted inserted replaced
34:0e2b57789361 35:6486e97f56ae
152 152
153 if (!cnx) 153 if (!cnx)
154 cnx = peer->p_cnxctx; 154 cnx = peer->p_cnxctx;
155 155
156 /* Do send the message */ 156 /* Do send the message */
157 CHECK_FCT( do_send(msg, cnx, hbh, peer ? &peer->p_sr : NULL) ); 157 CHECK_FCT_DO( do_send(msg, cnx, hbh, peer ? &peer->p_sr : NULL),
158 {
159 fd_log_debug("An error occurred while sending this message, it is lost:\n");
160 fd_msg_dump_walk(NONE, *msg);
161 fd_msg_free(*msg);
162 *msg = NULL;
163 } );
158 } 164 }
159 165
160 return 0; 166 return 0;
161 } 167 }
162 168
"Welcome to our mercurial repository"