diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-19 12:26:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-19 12:26:57 +0000 |
commit | 1b41ef00317b5f38a7860bfa4711a03552744241 (patch) | |
tree | 99526288fa40d3577acf8742eff673bab254351f /src/ats/ats_api_scheduling.c | |
parent | b7619facf9cf6889deb181487b5aae133a577a5f (diff) | |
download | gnunet-1b41ef00317b5f38a7860bfa4711a03552744241.tar.gz gnunet-1b41ef00317b5f38a7860bfa4711a03552744241.zip |
adding stats
Diffstat (limited to 'src/ats/ats_api_scheduling.c')
-rw-r--r-- | src/ats/ats_api_scheduling.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c index e62574918..955b21286 100644 --- a/src/ats/ats_api_scheduling.c +++ b/src/ats/ats_api_scheduling.c | |||
@@ -345,6 +345,7 @@ remove_session (struct GNUNET_ATS_SchedulingHandle *sh, | |||
345 | const struct GNUNET_PeerIdentity *peer) | 345 | const struct GNUNET_PeerIdentity *peer) |
346 | { | 346 | { |
347 | GNUNET_assert (session_id < sh->session_array_size); | 347 | GNUNET_assert (session_id < sh->session_array_size); |
348 | GNUNET_assert (GNUNET_YES == sh->session_array[session_id].slot_used); | ||
348 | GNUNET_assert (0 == memcmp (peer, | 349 | GNUNET_assert (0 == memcmp (peer, |
349 | &sh->session_array[session_id].peer, | 350 | &sh->session_array[session_id].peer, |
350 | sizeof (struct GNUNET_PeerIdentity))); | 351 | sizeof (struct GNUNET_PeerIdentity))); |