aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-11-19 13:34:29 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-11-19 13:34:29 +0000
commit7890a308739d2e4714ec5b9f1371da377c59e6b6 (patch)
treeefd903aa2215b3ed13611636119a39b0c059f839 /src/ats
parentf2554d328813646fe2bf6771ea269578b9961622 (diff)
downloadgnunet-7890a308739d2e4714ec5b9f1371da377c59e6b6.tar.gz
gnunet-7890a308739d2e4714ec5b9f1371da377c59e6b6.zip
notify only once
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/libgnunet_plugin_ats_proportional.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ats/libgnunet_plugin_ats_proportional.c b/src/ats/libgnunet_plugin_ats_proportional.c
index 6118329b6..ab259c118 100644
--- a/src/ats/libgnunet_plugin_ats_proportional.c
+++ b/src/ats/libgnunet_plugin_ats_proportional.c
@@ -879,16 +879,16 @@ distribute_bandwidth_in_network (struct GAS_PROPORTIONAL_Handle *s,
879 if (NULL != s->env->info_cb) 879 if (NULL != s->env->info_cb)
880 s->env->info_cb(s->env->info_cb_cls, GAS_OP_SOLVE_STOP, 880 s->env->info_cb(s->env->info_cb_cls, GAS_OP_SOLVE_STOP,
881 GAS_STAT_SUCCESS, GAS_INFO_PROP_ALL); 881 GAS_STAT_SUCCESS, GAS_INFO_PROP_ALL);
882 if (NULL != s->env->info_cb)
883 s->env->info_cb(s->env->info_cb_cls, GAS_OP_SOLVE_UPDATE_NOTIFICATION_START,
884 GAS_STAT_SUCCESS, GAS_INFO_PROP_ALL);
882 for (i = 0; i < s->network_count; i++) 885 for (i = 0; i < s->network_count; i++)
883 { 886 {
884 if (NULL != s->env->info_cb)
885 s->env->info_cb(s->env->info_cb_cls, GAS_OP_SOLVE_UPDATE_NOTIFICATION_START,
886 GAS_STAT_SUCCESS, GAS_INFO_PROP_ALL);
887 propagate_bandwidth(s, &s->network_entries[i], address_except); 887 propagate_bandwidth(s, &s->network_entries[i], address_except);
888 if (NULL != s->env->info_cb)
889 s->env->info_cb(s->env->info_cb_cls, GAS_OP_SOLVE_UPDATE_NOTIFICATION_STOP,
890 GAS_STAT_SUCCESS, GAS_INFO_PROP_ALL);
891 } 888 }
889 if (NULL != s->env->info_cb)
890 s->env->info_cb(s->env->info_cb_cls, GAS_OP_SOLVE_UPDATE_NOTIFICATION_STOP,
891 GAS_STAT_SUCCESS, GAS_INFO_PROP_ALL);
892 } 892 }
893} 893}
894 894