diff options
Diffstat (limited to 'src/ats/plugin_ats_mlp.c')
-rw-r--r-- | src/ats/plugin_ats_mlp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ats/plugin_ats_mlp.c b/src/ats/plugin_ats_mlp.c index 8e7880793..0f3a727a7 100644 --- a/src/ats/plugin_ats_mlp.c +++ b/src/ats/plugin_ats_mlp.c | |||
@@ -1401,7 +1401,7 @@ mlp_propagate_results (void *cls, | |||
1401 | mlpi->b_in = mlp_bw_in; | 1401 | mlpi->b_in = mlp_bw_in; |
1402 | address->assigned_bw_out = mlp_bw_out; | 1402 | address->assigned_bw_out = mlp_bw_out; |
1403 | mlpi->b_out = mlp_bw_out; | 1403 | mlpi->b_out = mlp_bw_out; |
1404 | if ((NULL == mlp->exclude_peer) || (0 != memcmp (&address->peer, mlp->exclude_peer, sizeof (address->peer)))) | 1404 | if ((NULL == mlp->exclude_peer) || (0 != GNUNET_memcmp (&address->peer, mlp->exclude_peer))) |
1405 | mlp->env->bandwidth_changed_cb (mlp->env->cls, address); | 1405 | mlp->env->bandwidth_changed_cb (mlp->env->cls, address); |
1406 | return GNUNET_OK; | 1406 | return GNUNET_OK; |
1407 | } | 1407 | } |
@@ -1417,7 +1417,7 @@ mlp_propagate_results (void *cls, | |||
1417 | mlpi->b_in = mlp_bw_in; | 1417 | mlpi->b_in = mlp_bw_in; |
1418 | address->assigned_bw_out = mlp_bw_out; | 1418 | address->assigned_bw_out = mlp_bw_out; |
1419 | mlpi->b_out = mlp_bw_out; | 1419 | mlpi->b_out = mlp_bw_out; |
1420 | if ((NULL == mlp->exclude_peer) || (0 != memcmp (&address->peer, mlp->exclude_peer, sizeof (address->peer)))) | 1420 | if ((NULL == mlp->exclude_peer) || (0 != GNUNET_memcmp (&address->peer, mlp->exclude_peer))) |
1421 | mlp->env->bandwidth_changed_cb (mlp->env->cls, address); | 1421 | mlp->env->bandwidth_changed_cb (mlp->env->cls, address); |
1422 | return GNUNET_OK; | 1422 | return GNUNET_OK; |
1423 | } | 1423 | } |