From 7e3cf5f461eb4fbb7581672bf0835da07c378136 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 31 Oct 2019 13:03:48 +0100 Subject: tighten formatting rules --- src/regex/gnunet-regex-profiler.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/regex/gnunet-regex-profiler.c') diff --git a/src/regex/gnunet-regex-profiler.c b/src/regex/gnunet-regex-profiler.c index 16b7a7f0e..695d66144 100644 --- a/src/regex/gnunet-regex-profiler.c +++ b/src/regex/gnunet-regex-profiler.c @@ -417,7 +417,7 @@ do_shutdown (void *cls) { peer = &peers[peer_cnt]; - if ((GNUNET_YES != peer->search_str_matched) &&(NULL != data_file) ) + if ((GNUNET_YES != peer->search_str_matched) && (NULL != data_file) ) { prof_time = GNUNET_TIME_absolute_get_duration (peer->prof_start_time); size = @@ -650,7 +650,7 @@ stats_connect_cb (void *cls, { struct RegexPeer *peer = cls; - if ((NULL == ca_result)||(NULL != emsg)) + if ((NULL == ca_result) || (NULL != emsg)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to connect to statistics service on peer %u: %s\n", @@ -1043,7 +1043,7 @@ dht_connect_cb (void *cls, { struct RegexPeer *peer = (struct RegexPeer *) cls; - if ((NULL != emsg)||(NULL == op)||(NULL == ca_result)) + if ((NULL != emsg) || (NULL == op) || (NULL == ca_result)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "DHT connect failed: %s\n", emsg); GNUNET_assert (0); @@ -1170,6 +1170,7 @@ test_master (void *cls, GNUNET_SCHEDULER_add_delayed (search_timeout_time, &search_timed_out, NULL); } + /** * Function that will be called whenever something in the testbed changes. * -- cgit v1.2.3