From dbbfcbf2750ac11770f020306d110037ad6f5ed2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 3 Apr 2021 07:40:23 +0200 Subject: indent --- src/setu/gnunet-service-setu_strata_estimator.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/setu/gnunet-service-setu_strata_estimator.c b/src/setu/gnunet-service-setu_strata_estimator.c index 32898f482..9ca1af0eb 100644 --- a/src/setu/gnunet-service-setu_strata_estimator.c +++ b/src/setu/gnunet-service-setu_strata_estimator.c @@ -62,7 +62,9 @@ strata_estimator_write (const struct StrataEstimator *se, &cbuf, &nsize)) { - GNUNET_memcpy (buf, cbuf, nsize); + GNUNET_memcpy (buf, + cbuf, + nsize); osize = nsize; GNUNET_free (cbuf); } @@ -224,19 +226,23 @@ strata_estimator_difference (const struct StrataEstimator *se1, /* FIXME: implement this without always allocating new IBFs */ diff = ibf_dup (se1->strata[i]); - ibf_subtract (diff, se2->strata[i]); + ibf_subtract (diff, + se2->strata[i]); for (int ibf_count = 0; GNUNET_YES; ibf_count++) { int more; - more = ibf_decode (diff, NULL, NULL); + more = ibf_decode (diff, + NULL, + NULL); if (GNUNET_NO == more) { count += ibf_count; break; } /* Estimate if decoding fails or would not terminate */ - if ((GNUNET_SYSERR == more) || (ibf_count > diff->size)) + if ( (GNUNET_SYSERR == more) || + (ibf_count > diff->size) ) { ibf_destroy (diff); return count * (1 << (i + 1)); -- cgit v1.2.3