aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ats/gnunet-service-ats-solver_mlp.h3
-rw-r--r--src/ats/gnunet-service-ats_normalization.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ats/gnunet-service-ats-solver_mlp.h b/src/ats/gnunet-service-ats-solver_mlp.h
index 4a5d35b00..d18c643c6 100644
--- a/src/ats/gnunet-service-ats-solver_mlp.h
+++ b/src/ats/gnunet-service-ats-solver_mlp.h
@@ -517,7 +517,8 @@ GAS_mlp_bulk_stop (void *solver);
517 517
518 518
519/** 519/**
520 * Get the preferred address for a specific peer 520 * Get the preferred address for a specific peer until
521 * GAS_mlp_stop_get_preferred_address is called
521 * 522 *
522 * @param solver the MLP Handle 523 * @param solver the MLP Handle
523 * @param peer the peer 524 * @param peer the peer
diff --git a/src/ats/gnunet-service-ats_normalization.c b/src/ats/gnunet-service-ats_normalization.c
index 7a2876810..24f551036 100644
--- a/src/ats/gnunet-service-ats_normalization.c
+++ b/src/ats/gnunet-service-ats_normalization.c
@@ -311,7 +311,6 @@ recalculate_rel_preferences (struct PreferenceClient *c,
311 GNUNET_ATS_print_preference_type (kind), 311 GNUNET_ATS_print_preference_type (kind),
312 p_cur->f_rel[kind]); 312 p_cur->f_rel[kind]);
313 313
314 res = 0.0;
315 if (p_cur->f_rel[kind] != backup) 314 if (p_cur->f_rel[kind] != backup)
316 { 315 {
317 /* Value changed, recalculate */ 316 /* Value changed, recalculate */
@@ -774,7 +773,7 @@ GAS_normalization_normalize_property (struct GNUNET_CONTAINER_MultiHashMap *addr
774 for (c1 = 0; c1 < atsi_count; c1++) 773 for (c1 = 0; c1 < atsi_count; c1++)
775 { 774 {
776 current_type = ntohl (atsi[c1].type); 775 current_type = ntohl (atsi[c1].type);
777 current_val = ntohl (atsi[c1].value); 776
778 for (c2 = 0; c2 < GNUNET_ATS_QualityPropertiesCount; c2++) 777 for (c2 = 0; c2 < GNUNET_ATS_QualityPropertiesCount; c2++)
779 { 778 {
780 /* Check if type is valid */ 779 /* Check if type is valid */