[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35736 - gnunet/src/ats
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35736 - gnunet/src/ats |
Date: |
Mon, 18 May 2015 20:49:34 +0200 |
Author: grothoff
Date: 2015-05-18 20:49:34 +0200 (Mon, 18 May 2015)
New Revision: 35736
Modified:
gnunet/src/ats/ats_api_scheduling.c
Log:
also compare peer identity
Modified: gnunet/src/ats/ats_api_scheduling.c
===================================================================
--- gnunet/src/ats/ats_api_scheduling.c 2015-05-18 18:42:58 UTC (rev 35735)
+++ gnunet/src/ats/ats_api_scheduling.c 2015-05-18 18:49:34 UTC (rev 35736)
@@ -310,6 +310,9 @@
(GNUNET_NO == sh->session_array[i]->in_destroy) &&
( (session == sh->session_array[i]->session) ||
(NULL == sh->session_array[i]->session) ) &&
+ (0 == memcmp (&address->peer,
+ &sh->session_array[i]->address->peer,
+ sizeof (struct GNUNET_PeerIdentity))) &&
(0 == GNUNET_HELLO_address_cmp (address,
sh->session_array[i]->address)) )
return i;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35736 - gnunet/src/ats,
gnunet <=