aboutsummaryrefslogtreecommitdiff
path: root/src/ats/test_ats_lib.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-21 12:24:19 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-21 12:24:19 +0000
commitbdbe3ab96590430b7f7501d9187551bf2f418278 (patch)
tree5159e69f94943ab80cacd175164aa382d9915f4d /src/ats/test_ats_lib.c
parent525210e28f4ce7b1b117721dced018cccf347d35 (diff)
downloadgnunet-bdbe3ab96590430b7f7501d9187551bf2f418278.tar.gz
gnunet-bdbe3ab96590430b7f7501d9187551bf2f418278.zip
-fix testcase
Diffstat (limited to 'src/ats/test_ats_lib.c')
-rw-r--r--src/ats/test_ats_lib.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ats/test_ats_lib.c b/src/ats/test_ats_lib.c
index e7cca2a71..d70580b9b 100644
--- a/src/ats/test_ats_lib.c
+++ b/src/ats/test_ats_lib.c
@@ -671,7 +671,7 @@ interpreter (void *cls,
671 if (NULL == asd) 671 if (NULL == asd)
672 return; 672 return;
673 if (GNUNET_NO == asd->active) 673 if (GNUNET_NO == asd->active)
674 return; 674 return; /* last suggestion was to disconnect, wait longer */
675 done = GNUNET_YES; 675 done = GNUNET_YES;
676 if (NULL != cmd->details.await_address_suggestion.add_label) 676 if (NULL != cmd->details.await_address_suggestion.add_label)
677 { 677 {
@@ -703,9 +703,10 @@ interpreter (void *cls,
703 &pid); 703 &pid);
704 asd = find_address_suggestion (&pid); 704 asd = find_address_suggestion (&pid);
705 if (NULL == asd) 705 if (NULL == asd)
706 return; 706 return; /* odd, no suggestion at all yet!? */
707 if (GNUNET_NO == asd->active) 707 if (GNUNET_YES == asd->active)
708 return; 708 return; /* last suggestion was to activate, wait longer */
709 /* last suggestion was to deactivate, condition satisfied! */
709 off++; 710 off++;
710 break; 711 break;
711 } 712 }