gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: -nicer data types


From: gnunet
Subject: [taler-exchange] branch master updated: -nicer data types
Date: Wed, 20 Oct 2021 16:04:12 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new c353cabe -nicer data types
c353cabe is described below

commit c353cabe07959b4f4900d9981645af8339759564
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Oct 20 16:04:10 2021 +0200

    -nicer data types
---
 src/mhd/mhd_run.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/mhd/mhd_run.c b/src/mhd/mhd_run.c
index 8141390c..cb073e83 100644
--- a/src/mhd/mhd_run.c
+++ b/src/mhd/mhd_run.c
@@ -29,9 +29,9 @@
 
 
 /**
- * Set if we should immediately MHD_run() again.
+ * Set to true if we should immediately MHD_run() again.
  */
-static int triggered;
+static bool triggered;
 
 /**
  * Task running the HTTP server.
@@ -63,10 +63,10 @@ run_daemon (void *cls)
 {
   mhd_task = NULL;
   do {
-    triggered = 0;
+    triggered = false;
     GNUNET_assert (MHD_YES ==
                    MHD_run (mhd));
-  } while (0 != triggered);
+  } while (triggered);
   mhd_task = prepare_daemon ();
 }
 
@@ -166,7 +166,7 @@ TALER_MHD_daemon_trigger (void)
   }
   else
   {
-    triggered = 1;
+    triggered = true;
   }
 }
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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