[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -yoda
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -yoda |
Date: |
Fri, 23 Jul 2021 20:23:54 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 6140d64e1 -yoda
6140d64e1 is described below
commit 6140d64e1c55e76de3ff520143b10290fa1ba197
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jul 23 20:20:40 2021 +0200
-yoda
---
src/util/time.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/util/time.c b/src/util/time.c
index eb7bd6766..144e1b401 100644
--- a/src/util/time.c
+++ b/src/util/time.c
@@ -473,21 +473,21 @@ GNUNET_TIME_absolute_hton (struct GNUNET_TIME_Absolute a)
bool
GNUNET_TIME_absolute_is_never (struct GNUNET_TIME_Absolute abs)
{
- return abs.abs_value_us == GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us;
+ return GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us == abs.abs_value_us;
}
bool
GNUNET_TIME_relative_is_forever (struct GNUNET_TIME_Relative rel)
{
- return rel.rel_value_us == GNUNET_TIME_UNIT_FOREVER_REL.rel_value_us;
+ return GNUNET_TIME_UNIT_FOREVER_REL.rel_value_us == rel.rel_value_us;
}
bool
GNUNET_TIME_relative_is_zero (struct GNUNET_TIME_Relative rel)
{
- return rel.rel_value_us == 0;
+ return 0 == rel.rel_value_us;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -yoda,
gnunet <=