[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8143 - GNUnet/src/applications/testing
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8143 - GNUnet/src/applications/testing |
Date: |
Thu, 22 Jan 2009 17:52:04 -0700 (MST) |
Author: nevans
Date: 2009-01-22 17:52:04 -0700 (Thu, 22 Jan 2009)
New Revision: 8143
Modified:
GNUnet/src/applications/testing/remotetopologies.c
Log:
Modified: GNUnet/src/applications/testing/remotetopologies.c
===================================================================
--- GNUnet/src/applications/testing/remotetopologies.c 2009-01-20 22:54:35 UTC
(rev 8142)
+++ GNUnet/src/applications/testing/remotetopologies.c 2009-01-23 00:52:04 UTC
(rev 8143)
@@ -71,7 +71,8 @@
iter_pos->port, &node1,
&node2))
{
- temp_rand = RANDOM ();
+ temp_rand = ((double) RANDOM () / RAND_MAX);
+ fprintf(stderr, "rand is %f probability is
%f\n",temp_rand,probability);
if (temp_rand < probability)
{
node1temp =
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8143 - GNUnet/src/applications/testing,
gnunet <=