gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: fix check


From: gnunet
Subject: [taler-merchant] branch master updated: fix check
Date: Mon, 27 Jul 2020 16:47:57 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 713cb26  fix check
713cb26 is described below

commit 713cb2650ff7ca57ff4050cd10d8c52f7e25d886
Author: MS <ms@taler.net>
AuthorDate: Mon Jul 27 16:47:52 2020 +0200

    fix check
---
 src/merchant-tools/taler-merchant-setup-reserve.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/merchant-tools/taler-merchant-setup-reserve.c 
b/src/merchant-tools/taler-merchant-setup-reserve.c
index b229af3..e66a1e4 100644
--- a/src/merchant-tools/taler-merchant-setup-reserve.c
+++ b/src/merchant-tools/taler-merchant-setup-reserve.c
@@ -199,9 +199,9 @@ run (void *cls,
     // not assuming that libcurl copies this value.
     char *auth_header;
 
-    GNUNET_assert (GNUNET_OK == GNUNET_asprintf (&auth_header,
-                                                 "Authorizattion: ApiKey %s",
-                                                 apikey));
+    GNUNET_assert (0 < GNUNET_asprintf (&auth_header,
+                                        "Authorizattion: ApiKey %s",
+                                        apikey));
     GNUNET_CURL_append_header (ctx,
                               auth_header);
   }

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