aboutsummaryrefslogtreecommitdiff
path: root/src/regex/gnunet-regex-profiler.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
commit7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch)
treebdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/regex/gnunet-regex-profiler.c
parent01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff)
downloadgnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz
gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip
tighten formatting rules
Diffstat (limited to 'src/regex/gnunet-regex-profiler.c')
-rw-r--r--src/regex/gnunet-regex-profiler.c7
1 files changed, 4 insertions, 3 deletions
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)
417 { 417 {
418 peer = &peers[peer_cnt]; 418 peer = &peers[peer_cnt];
419 419
420 if ((GNUNET_YES != peer->search_str_matched) &&(NULL != data_file) ) 420 if ((GNUNET_YES != peer->search_str_matched) && (NULL != data_file) )
421 { 421 {
422 prof_time = GNUNET_TIME_absolute_get_duration (peer->prof_start_time); 422 prof_time = GNUNET_TIME_absolute_get_duration (peer->prof_start_time);
423 size = 423 size =
@@ -650,7 +650,7 @@ stats_connect_cb (void *cls,
650{ 650{
651 struct RegexPeer *peer = cls; 651 struct RegexPeer *peer = cls;
652 652
653 if ((NULL == ca_result)||(NULL != emsg)) 653 if ((NULL == ca_result) || (NULL != emsg))
654 { 654 {
655 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 655 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
656 "Failed to connect to statistics service on peer %u: %s\n", 656 "Failed to connect to statistics service on peer %u: %s\n",
@@ -1043,7 +1043,7 @@ dht_connect_cb (void *cls,
1043{ 1043{
1044 struct RegexPeer *peer = (struct RegexPeer *) cls; 1044 struct RegexPeer *peer = (struct RegexPeer *) cls;
1045 1045
1046 if ((NULL != emsg)||(NULL == op)||(NULL == ca_result)) 1046 if ((NULL != emsg) || (NULL == op) || (NULL == ca_result))
1047 { 1047 {
1048 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "DHT connect failed: %s\n", emsg); 1048 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "DHT connect failed: %s\n", emsg);
1049 GNUNET_assert (0); 1049 GNUNET_assert (0);
@@ -1170,6 +1170,7 @@ test_master (void *cls,
1170 GNUNET_SCHEDULER_add_delayed (search_timeout_time, &search_timed_out, NULL); 1170 GNUNET_SCHEDULER_add_delayed (search_timeout_time, &search_timed_out, NULL);
1171} 1171}
1172 1172
1173
1173/** 1174/**
1174 * Function that will be called whenever something in the testbed changes. 1175 * Function that will be called whenever something in the testbed changes.
1175 * 1176 *