gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r17568 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r17568 - gnunet/src/ats
Date: Tue, 18 Oct 2011 09:53:14 +0200

Author: grothoff
Date: 2011-10-18 09:53:14 +0200 (Tue, 18 Oct 2011)
New Revision: 17568

Modified:
   gnunet/src/ats/ats_api_scheduling.c
Log:
fix

Modified: gnunet/src/ats/ats_api_scheduling.c
===================================================================
--- gnunet/src/ats/ats_api_scheduling.c 2011-10-18 07:46:37 UTC (rev 17567)
+++ gnunet/src/ats/ats_api_scheduling.c 2011-10-18 07:53:14 UTC (rev 17568)
@@ -269,6 +269,8 @@
     GNUNET_break (0);
     return NULL;
   }
+  if (session_id == 0)
+    return NULL;
   GNUNET_assert (0 == memcmp (peer,
                              &sh->session_array[session_id].peer,
                              sizeof (struct GNUNET_PeerIdentity)));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]