diff options
Diffstat (limited to 'src/ats/test_ats_lib.c')
-rw-r--r-- | src/ats/test_ats_lib.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ats/test_ats_lib.c b/src/ats/test_ats_lib.c index 9a9726124..590696ab2 100644 --- a/src/ats/test_ats_lib.c +++ b/src/ats/test_ats_lib.c | |||
@@ -567,7 +567,7 @@ reservation_cb (void *cls, | |||
567 | (0 != res_delay.rel_value_us) ); | 567 | (0 != res_delay.rel_value_us) ); |
568 | break; | 568 | break; |
569 | case GNUNET_SYSERR: | 569 | case GNUNET_SYSERR: |
570 | if ( (amount != cmd->details.reserve_bandwidth.amount) || | 570 | if ( (amount != 0) || |
571 | (0 == res_delay.rel_value_us) ) | 571 | (0 == res_delay.rel_value_us) ) |
572 | { | 572 | { |
573 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 573 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
@@ -858,6 +858,12 @@ interpreter (void *cls, | |||
858 | cmd); | 858 | cmd); |
859 | return; | 859 | return; |
860 | } | 860 | } |
861 | case CMD_SLEEP: | ||
862 | off++; | ||
863 | interpreter_task = GNUNET_SCHEDULER_add_delayed (cmd->details.sleep.delay, | ||
864 | &interpreter, | ||
865 | NULL); | ||
866 | return; | ||
861 | } /* end switch */ | 867 | } /* end switch */ |
862 | } /* end while(1) */ | 868 | } /* end while(1) */ |
863 | } | 869 | } |