[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: -fix compiler warnings / adjust
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: -fix compiler warnings / adjust test to new DB schema |
Date: |
Sun, 27 Feb 2022 12:13:46 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 2a0bf27 -fix compiler warnings / adjust test to new DB schema
2a0bf27 is described below
commit 2a0bf277efba7c5c9de0f30ff23a27b4ce137c80
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Feb 27 12:13:44 2022 +0100
-fix compiler warnings / adjust test to new DB schema
---
src/stasis/test_anastasis_db.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/stasis/test_anastasis_db.c b/src/stasis/test_anastasis_db.c
index 0b696a4..5ad29bc 100644
--- a/src/stasis/test_anastasis_db.c
+++ b/src/stasis/test_anastasis_db.c
@@ -151,7 +151,7 @@ run (void *cls)
&paymentSecretP,
&amount));
{
- struct GNUNET_TIME_Absolute res_time;
+ struct GNUNET_TIME_Timestamp res_time;
FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
plugin->increment_lifetime (plugin->cls,
@@ -192,11 +192,13 @@ run (void *cls)
&recoveryDataHash,
recovery_data,
strlen (recovery_data),
+ "meta-data",
+ strlen ("meta-data"),
&paymentSecretP,
&docVersion));
{
uint32_t vrs;
- struct GNUNET_TIME_Absolute exp;
+ struct GNUNET_TIME_Timestamp exp;
FAILIF (ANASTASIS_DB_ACCOUNT_STATUS_VALID_HASH_RETURNED !=
plugin->lookup_account (plugin->cls,
@@ -240,7 +242,7 @@ run (void *cls)
GNUNET_free (res_recovery_data);
{
- struct GNUNET_TIME_Absolute rt;
+ struct GNUNET_TIME_Timestamp rt;
FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
plugin->create_challenge_code (plugin->cls,
@@ -250,10 +252,10 @@ run (void *cls)
3, /* retry counter */
&rt,
&challenge_code));
- FAILIF (0 != rt.abs_value_us);
+ FAILIF (! GNUNET_TIME_absolute_is_zero (rt.abs_time));
}
{
- struct GNUNET_TIME_Absolute rt;
+ struct GNUNET_TIME_Timestamp rt;
uint64_t c2;
FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis] branch master updated: -fix compiler warnings / adjust test to new DB schema,
gnunet <=