[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: use safe multiplication
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: use safe multiplication |
Date: |
Fri, 23 Jul 2021 20:13:36 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new d34de0ed use safe multiplication
d34de0ed is described below
commit d34de0edb1cb017975e8fd57d3aa17161bd88d6b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jul 23 20:13:28 2021 +0200
use safe multiplication
---
src/backend/taler-merchant-httpd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd.c
b/src/backend/taler-merchant-httpd.c
index ac223a5b..104d7435 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -890,7 +890,8 @@ prepare_daemon (void)
&max));
haveto = MHD_get_timeout (mhd, &timeout);
if (haveto == MHD_YES)
- tv.rel_value_us = (uint64_t) timeout * 1000LL;
+ tv = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS,
+ timeout);
else
tv = GNUNET_TIME_UNIT_FOREVER_REL;
GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max + 1);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: use safe multiplication,
gnunet <=