diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-18 15:40:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-18 15:40:23 +0000 |
commit | 406d0c278e3c97456189bc49bc44dd0c5c9b7198 (patch) | |
tree | e05c912c11ee547d111736bbc94abbb2f1167989 /src/ats | |
parent | c5d5a789efbdf6e2ef541cf27587f11350086489 (diff) | |
download | gnunet-406d0c278e3c97456189bc49bc44dd0c5c9b7198.tar.gz gnunet-406d0c278e3c97456189bc49bc44dd0c5c9b7198.zip |
fix
Diffstat (limited to 'src/ats')
-rw-r--r-- | src/ats/ats_api_scheduling.c | 2 |
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) |