[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r33863 - gnunet/src/ats
From: |
gnunet |
Subject: |
[GNUnet-SVN] r33863 - gnunet/src/ats |
Date: |
Thu, 26 Jun 2014 14:25:46 +0200 |
Author: wachs
Date: 2014-06-26 14:25:46 +0200 (Thu, 26 Jun 2014)
New Revision: 33863
Modified:
gnunet/src/ats/plugin_ats_proportional.c
Log:
use static variable
Modified: gnunet/src/ats/plugin_ats_proportional.c
===================================================================
--- gnunet/src/ats/plugin_ats_proportional.c 2014-06-26 12:25:04 UTC (rev
33862)
+++ gnunet/src/ats/plugin_ats_proportional.c 2014-06-26 12:25:46 UTC (rev
33863)
@@ -905,8 +905,9 @@
const struct GNUNET_CONTAINER_MultiPeerMap * addresses,
const struct GNUNET_PeerIdentity *peer)
{
- struct ATS_Address * dest = NULL;
+ static struct ATS_Address * dest = NULL;
+ dest = NULL;
GNUNET_CONTAINER_multipeermap_get_multiple (addresses, peer,
&get_active_address_it, &dest);
return dest;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r33863 - gnunet/src/ats,
gnunet <=