[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9041 - gnunet/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9041 - gnunet/src/fs |
Date: |
Tue, 29 Sep 2009 13:36:50 -0600 |
Author: grothoff
Date: 2009-09-29 13:36:50 -0600 (Tue, 29 Sep 2009)
New Revision: 9041
Modified:
gnunet/src/fs/gnunet-service-fs.c
Log:
fix
Modified: gnunet/src/fs/gnunet-service-fs.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs.c 2009-09-28 21:46:31 UTC (rev 9040)
+++ gnunet/src/fs/gnunet-service-fs.c 2009-09-29 19:36:50 UTC (rev 9041)
@@ -38,7 +38,7 @@
* - find out how to use core-pulling instead of pushing (at least for some
cases)
*/
#include "platform.h"
-#include <values.h>
+#include <float.h>
#include "gnunet_core_service.h"
#include "gnunet_datastore_service.h"
#include "gnunet_peer_lib.h"
@@ -1825,11 +1825,11 @@
}
/* (1) select target */
psc.pr = pr;
- psc.target_score = MINDOUBLE;
+ psc.target_score = DBL_MIN;
GNUNET_CONTAINER_multihashmap_iterate (connected_peers,
&target_peer_select_cb,
&psc);
- if (psc.target_score == MINDOUBLE)
+ if (psc.target_score == DBL_MIN)
{
/* no possible target found, wait some time */
pr->task = GNUNET_SCHEDULER_add_delayed (sched,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9041 - gnunet/src/fs,
gnunet <=