Commit 71c4a373 authored by Sebastien Decugis's avatar Sebastien Decugis

Small fixes

parent ab58dad0
Pipeline #1655 skipped
......@@ -294,7 +294,7 @@ int tne_process_init()
CHECK_POSIX( pthread_create(&thr, NULL, tne_process_th, NULL) );
#if 0 /* debug */
int i = 30;
int i;
for (i=0; i< 20; i++) {
printf("LAT: %lu\n", get_latency());
}
......
......@@ -1002,7 +1002,7 @@ int fd_msg_source_set( struct msg * msg, char * diamid, int add_rr, struct dicti
TRACE_ENTRY( "%p %p %d %p", msg, diamid, add_rr, dict);
/* Check we received a valid message */
CHECK_PARAMS( CHECK_MSG(msg) && dict );
CHECK_PARAMS( CHECK_MSG(msg) && ( (! add_rr) || dict ) );
/* Cleanup any previous source */
free(msg->msg_src_id); msg->msg_src_id = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment