aboutsummaryrefslogtreecommitdiff
path: root/src/ats/ats_api_scheduling.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/ats_api_scheduling.c')
-rw-r--r--src/ats/ats_api_scheduling.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c
index b1ceb4083..8d2cdc84e 100644
--- a/src/ats/ats_api_scheduling.c
+++ b/src/ats/ats_api_scheduling.c
@@ -479,9 +479,7 @@ process_ats_address_suggestion_message (void *cls,
479 } 479 }
480 if (NULL == sh->suggest_cb) 480 if (NULL == sh->suggest_cb)
481 return; 481 return;
482 if ( (GNUNET_YES == ar->in_destroy) && 482 if (GNUNET_YES == ar->in_destroy)
483 ( (0 != ntohl (m->bandwidth_out.value__)) ||
484 (0 != ntohl (m->bandwidth_in.value__)) ) )
485 { 483 {
486 /* ignore suggestion, as this address is dying */ 484 /* ignore suggestion, as this address is dying */
487 return; 485 return;
@@ -490,7 +488,7 @@ process_ats_address_suggestion_message (void *cls,
490 (GNUNET_HELLO_address_check_option (ar->address, 488 (GNUNET_HELLO_address_check_option (ar->address,
491 GNUNET_HELLO_ADDRESS_INFO_INBOUND)) ) 489 GNUNET_HELLO_ADDRESS_INFO_INBOUND)) )
492 { 490 {
493 GNUNET_break (0); 491 GNUNET_assert (0);
494 return; 492 return;
495 } 493 }
496 sh->suggest_cb (sh->suggest_cb_cls, 494 sh->suggest_cb (sh->suggest_cb_cls,