aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/ats_api_scheduling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c
index 34601ffc7..e62574918 100644
--- a/src/ats/ats_api_scheduling.c
+++ b/src/ats/ats_api_scheduling.c
@@ -313,7 +313,7 @@ get_session_id (struct GNUNET_ATS_SchedulingHandle *sh,
313 return i; 313 return i;
314 } 314 }
315 if ( (f == 0) && 315 if ( (f == 0) &&
316 (sh->session_array[i].session == NULL) ) 316 (sh->session_array[i].slot_used == GNUNET_NO) )
317 f = i; 317 f = i;
318 } 318 }
319 if (f == 0) 319 if (f == 0)