aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-26 20:25:37 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-26 20:25:37 +0200
commitaa78134a557079ce570345e751e4c36c4b2ba79a (patch)
treef7bf25950513285184e2426109235337d0aef8be /src/ats
parent1f2674fe293be7c1a852fbe4a7241fbcb149078f (diff)
downloadgnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.tar.gz
gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.zip
-fix many more typos
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/ats_api_scheduling.c2
-rw-r--r--src/ats/gnunet-service-ats_preferences.c4
-rw-r--r--src/ats/perf_ats_solver.c4
-rw-r--r--src/ats/plugin_ats_proportional.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c
index 36162d12f..ea4b27653 100644
--- a/src/ats/ats_api_scheduling.c
+++ b/src/ats/ats_api_scheduling.c
@@ -704,7 +704,7 @@ GNUNET_ATS_address_add_session (struct GNUNET_ATS_AddressRecord *ar,
704/** 704/**
705 * A session was destroyed, disassociate it from the 705 * A session was destroyed, disassociate it from the
706 * given address record. If this was an incoming 706 * given address record. If this was an incoming
707 * addess, destroy the address as well. 707 * address, destroy the address as well.
708 * 708 *
709 * @param ar address record to update information for 709 * @param ar address record to update information for
710 * @param session session handle 710 * @param session session handle
diff --git a/src/ats/gnunet-service-ats_preferences.c b/src/ats/gnunet-service-ats_preferences.c
index 636e2db47..0869c65dc 100644
--- a/src/ats/gnunet-service-ats_preferences.c
+++ b/src/ats/gnunet-service-ats_preferences.c
@@ -47,7 +47,7 @@
47#define PREF_AGING_FACTOR 0.95 47#define PREF_AGING_FACTOR 0.95
48 48
49/** 49/**
50 * What is the lowest threshold up to which prefernce values 50 * What is the lowest threshold up to which preference values
51 * are aged, and below which we consider them zero and thus 51 * are aged, and below which we consider them zero and thus
52 * no longer subject to aging? 52 * no longer subject to aging?
53 */ 53 */
@@ -211,7 +211,7 @@ sum_relative_preferences (void *cls,
211 211
212 212
213/** 213/**
214 * Update the total releative preference for a peer by summing 214 * Update the total relative preference for a peer by summing
215 * up the relative preferences all clients have for this peer. 215 * up the relative preferences all clients have for this peer.
216 * 216 *
217 * @param id peer id of the peer for which we should do the update 217 * @param id peer id of the peer for which we should do the update
diff --git a/src/ats/perf_ats_solver.c b/src/ats/perf_ats_solver.c
index 2fbadef4d..363d0cfc9 100644
--- a/src/ats/perf_ats_solver.c
+++ b/src/ats/perf_ats_solver.c
@@ -174,7 +174,7 @@ struct Iteration
174 174
175 175
176/** 176/**
177 * Result for a solver calculcation 177 * Result for a solver calculation
178 */ 178 */
179struct Result 179struct Result
180{ 180{
@@ -1310,7 +1310,7 @@ run (void *cls, char *const *args, const char *cfgfile,
1310 } 1310 }
1311 GNUNET_free (src_filename); 1311 GNUNET_free (src_filename);
1312 1312
1313 /* Calculcate peers */ 1313 /* Calculate peers */
1314 if ((0 == ph.N_peers_start) && (0 == ph.N_peers_end)) 1314 if ((0 == ph.N_peers_start) && (0 == ph.N_peers_end))
1315 { 1315 {
1316 ph.N_peers_start = DEFAULT_PEERS_START; 1316 ph.N_peers_start = DEFAULT_PEERS_START;
diff --git a/src/ats/plugin_ats_proportional.c b/src/ats/plugin_ats_proportional.c
index 52476c825..d3062a5c0 100644
--- a/src/ats/plugin_ats_proportional.c
+++ b/src/ats/plugin_ats_proportional.c
@@ -1051,7 +1051,7 @@ GAS_proportional_address_add (void *solver,
1051 * - Removed it from specific network 1051 * - Removed it from specific network
1052 * - Decrease the number of total addresses 1052 * - Decrease the number of total addresses
1053 * - If active: 1053 * - If active:
1054 * - decrease number of active addreses 1054 * - decrease number of active addresses
1055 * - update quotas 1055 * - update quotas
1056 * 1056 *
1057 * @param solver the solver handle 1057 * @param solver the solver handle