gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: adapt to GNUENT_DISK_fn_write AP


From: gnunet
Subject: [taler-exchange] branch master updated: adapt to GNUENT_DISK_fn_write API change
Date: Sat, 19 Dec 2020 18:44:25 +0100

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 7877c24e adapt to GNUENT_DISK_fn_write API change
7877c24e is described below

commit 7877c24ef2e1a53cdfb182b94a35836b05701f4d
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Dec 19 18:44:23 2020 +0100

    adapt to GNUENT_DISK_fn_write API change
---
 src/exchange-tools/taler-exchange-offline.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/exchange-tools/taler-exchange-offline.c 
b/src/exchange-tools/taler-exchange-offline.c
index b45274ff..22153e66 100644
--- a/src/exchange-tools/taler-exchange-offline.c
+++ b/src/exchange-tools/taler-exchange-offline.c
@@ -2332,11 +2332,11 @@ tofu_check (const struct TALER_SecurityModulePublicKeyP 
secm[2])
     return GNUNET_OK;
   }
   /* persist keys for future runs */
-  ret = GNUNET_DISK_fn_write (fn,
-                              secm,
-                              sizeof (old),
-                              GNUNET_DISK_PERM_USER_READ);
-  if (ret != sizeof (old))
+  if (GNUNET_OK !=
+      GNUNET_DISK_fn_write (fn,
+                            secm,
+                            sizeof (old),
+                            GNUNET_DISK_PERM_USER_READ))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 "Failed to store key material in file `%s'\n",

-- 
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]