send session release messages back to ATS API
authorChristian Grothoff <christian@grothoff.org>
Tue, 18 Oct 2011 15:28:17 +0000 (15:28 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 18 Oct 2011 15:28:17 +0000 (15:28 +0000)
src/ats/ats_api_scheduling.c

index 94c798b5357d23fafedd808bc69cdad2a13acfac..34601ffc7cf436ebb786759cd9cc07345226b581 100644 (file)
@@ -349,9 +349,6 @@ remove_session (struct GNUNET_ATS_SchedulingHandle *sh,
                              &sh->session_array[session_id].peer,
                              sizeof (struct GNUNET_PeerIdentity)));
   sh->session_array[session_id].session = NULL;
-  memset (&sh->session_array[session_id].peer,
-         0, 
-         sizeof (struct GNUNET_PeerIdentity));
 }