aboutsummaryrefslogtreecommitdiff
path: root/src/mhd/mhd_run.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-20 16:04:10 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-20 16:04:10 +0200
commitc353cabe07959b4f4900d9981645af8339759564 (patch)
tree92483184914f6cad33d2196732c7d64fb0066b80 /src/mhd/mhd_run.c
parentc13810ba2c43a63504269c646b438c2fd157d4ff (diff)
-nicer data types
Diffstat (limited to 'src/mhd/mhd_run.c')
-rw-r--r--src/mhd/mhd_run.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mhd/mhd_run.c b/src/mhd/mhd_run.c
index 8141390c9..cb073e831 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;
}
}