[Top][All Lists]

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

[GNUnet-SVN] [taler-twister] branch master updated: fix 0% chaos rate

From: gnunet
Subject: [GNUnet-SVN] [taler-twister] branch master updated: fix 0% chaos rate
Date: Sun, 09 Jun 2019 04:11:13 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository twister.

The following commit(s) were added to refs/heads/master by this push:
     new 6b94ed4  fix 0% chaos rate
6b94ed4 is described below

commit 6b94ed4eed4e6cf2275a2b9971552ff6cb274498
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sun Jun 9 04:10:17 2019 +0200

    fix 0% chaos rate
 src/twister/taler-twister-service.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/twister/taler-twister-service.c 
index 8600c05..0833e06 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -1394,7 +1394,7 @@ create_response_with_chaos_rate (struct HttpRequest 
                   (unsigned long long) chaos_rate,
                   (unsigned long long) random);
-  if (random <= chaos_rate)
+  if (random < chaos_rate)
     /* p won */
     TALER_LOG_INFO ("Chaos probability won the case.\n");

To stop receiving notification emails like this one, please contact

reply via email to

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