gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] branch master updated: -initialize sold_out field


From: gnunet
Subject: [taler-taler-mdb] branch master updated: -initialize sold_out field
Date: Sat, 22 Oct 2022 13:36:24 +0200

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

grothoff pushed a commit to branch master
in repository taler-mdb.

The following commit(s) were added to refs/heads/master by this push:
     new 8bb4c5a  -initialize sold_out field
8bb4c5a is described below

commit 8bb4c5a07e4af4fec5c21f4741f10d6fc57085c3
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Oct 22 13:36:20 2022 +0200

    -initialize sold_out field
---
 src/taler-mdb.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/taler-mdb.c b/src/taler-mdb.c
index 58cc89f..585563d 100644
--- a/src/taler-mdb.c
+++ b/src/taler-mdb.c
@@ -2804,7 +2804,9 @@ read_products (void *cls,
                const char *section)
 {
   const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
-  struct Product tmpProduct;
+  struct Product tmpProduct = {
+    .sold_out = false
+  };
   char *tmpKey;
   char *thumbnail_fn;
 

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