From aa78134a557079ce570345e751e4c36c4b2ba79a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 26 Apr 2021 20:25:37 +0200 Subject: -fix many more typos --- src/ats/ats_api_scheduling.c | 2 +- src/ats/gnunet-service-ats_preferences.c | 4 ++-- src/ats/perf_ats_solver.c | 4 ++-- src/ats/plugin_ats_proportional.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/ats') 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, /** * A session was destroyed, disassociate it from the * given address record. If this was an incoming - * addess, destroy the address as well. + * address, destroy the address as well. * * @param ar address record to update information for * @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 @@ #define PREF_AGING_FACTOR 0.95 /** - * What is the lowest threshold up to which prefernce values + * What is the lowest threshold up to which preference values * are aged, and below which we consider them zero and thus * no longer subject to aging? */ @@ -211,7 +211,7 @@ sum_relative_preferences (void *cls, /** - * Update the total releative preference for a peer by summing + * Update the total relative preference for a peer by summing * up the relative preferences all clients have for this peer. * * @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 /** - * Result for a solver calculcation + * Result for a solver calculation */ struct Result { @@ -1310,7 +1310,7 @@ run (void *cls, char *const *args, const char *cfgfile, } GNUNET_free (src_filename); - /* Calculcate peers */ + /* Calculate peers */ if ((0 == ph.N_peers_start) && (0 == ph.N_peers_end)) { 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, * - Removed it from specific network * - Decrease the number of total addresses * - If active: - * - decrease number of active addreses + * - decrease number of active addresses * - update quotas * * @param solver the solver handle -- cgit v1.2.3