gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -fix typos


From: gnunet
Subject: [gnunet] branch master updated: -fix typos
Date: Sun, 01 Aug 2021 23:00:21 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 9ba721839 -fix typos
9ba721839 is described below

commit 9ba7218399841d1eafe962d82b66302fc6aa05b0
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Aug 1 22:57:00 2021 +0200

    -fix typos
---
 src/setu/gnunet-service-setu.c          | 22 ++++++++++++----------
 src/setu/gnunet-service-setu_protocol.h |  5 +++--
 src/setu/perf_setu_api.c                |  2 +-
 3 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index a51e92b71..9a61af67d 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -95,7 +95,7 @@
 #define SECURITY_LEVEL 80
 
 /**
- * Is the estimated probabily for a new round this values
+ * Is the estimated probability for a new round this values
  * is based on the bsc thesis of Elias Summermatter (2021)
  */
 
@@ -467,7 +467,7 @@ struct Operation
 
   /**
    * Set difference is multiplied with this factor
-   * to gennerate large enought IBF
+   * to gennerate large enough IBF
    */
   uint8_t ibf_bucket_number_factor;
 
@@ -780,7 +780,7 @@ struct perf_num_send_received_msg
 };
 
 /**
- *  Main struct to messure perfomance (data/rtts)
+ *  Main struct to measure performance (data/rtts)
  */
 struct per_store_struct
 {
@@ -828,7 +828,7 @@ enum MESSAGE_CONTROL_FLOW_STATE
   MSG_CFS_EXPECTED,
 
   /**
-   * Track that message has been recieved
+   * Track that message has been received
    */
   MSG_CFS_RECEIVED,
 };
@@ -843,20 +843,22 @@ enum MESSAGE_TYPE
    * Offer message type
    */
   OFFER_MESSAGE,
+
   /**
    * Demand message type
    */
   DEMAND_MESSAGE,
+
   /**
-   * Elemente message type
+   * Element message type
    */
   ELEMENT_MESSAGE,
 };
 
+
 /**
- * Struct to tracked messages in message controll flow
+ * Struct to tracked messages in message control flow
  */
-
 struct messageControlFlowElement
 {
   /**
@@ -912,7 +914,7 @@ load_config (struct Operation *op)
 
 
 /**
- * Function to calculate total bytes used for performance messurement
+ * Function to calculate total bytes used for performance measurement
  * @param size
  * @param perf_num_send_received_msg
  * @return bytes used
@@ -942,7 +944,7 @@ calculate_perf_store ()
   int bytes_transmitted = 0;
 
   /**
-   *  Calculate RGNUNET_SETU_AcceptMessageRT of Fullsync normaly 1 or 1.5 
depending
+   *  Calculate RGNUNET_SETU_AcceptMessageRT of Fullsync normally 1 or 1.5 
depending
    */
   if ((perf_store.element_full.received != 0) ||
       (perf_store.element_full.sent != 0)
@@ -1840,7 +1842,7 @@ struct GetElementContext
   struct GNUNET_HashCode hash;
 
   /**
-   * Pointer to the key enty
+   * Pointer to the key entry
    */
   struct KeyEntry *k;
 };
diff --git a/src/setu/gnunet-service-setu_protocol.h 
b/src/setu/gnunet-service-setu_protocol.h
index d8f34f69c..c2a166e60 100644
--- a/src/setu/gnunet-service-setu_protocol.h
+++ b/src/setu/gnunet-service-setu_protocol.h
@@ -82,11 +82,13 @@ struct IBFMessage
   uint16_t salt GNUNET_PACKED;
 
   /**
-   * The bit lenght of the counter
+   * The bit length of the counter
    */
   uint16_t ibf_counter_bit_length;
   /* rest: buckets */
 };
+
+
 /**
 estimate_best_mode_of_operation (uint64_t avg_element_size,
 uint64_t local_set_size,
@@ -96,7 +98,6 @@ uint64_t est_set_diff_remote,
         **/
 
 
-
 struct InquiryMessage
 {
   /**
diff --git a/src/setu/perf_setu_api.c b/src/setu/perf_setu_api.c
index af84994f8..7f4d64f74 100644
--- a/src/setu/perf_setu_api.c
+++ b/src/setu/perf_setu_api.c
@@ -355,7 +355,7 @@ run (void *cls,
               set2);
   GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &app_id);
 
-  /* test if canceling an uncommited request works! */
+  /* test if canceling an uncommitted request works! */
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Launching and instantly stopping set operation\n");
   my_oh = GNUNET_SETU_prepare (&local_id,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]