gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: cleaner


From: gnunet
Subject: [taler-anastasis] branch master updated: cleaner
Date: Fri, 05 Feb 2021 21:22:24 +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 39983b1  cleaner
39983b1 is described below

commit 39983b18bcfc97d335d8ca471b2edb1acdb99c29
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Feb 5 21:22:22 2021 +0100

    cleaner
---
 src/lib/anastasis_backup.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/anastasis_backup.c b/src/lib/anastasis_backup.c
index e050e4c..2b9813b 100644
--- a/src/lib/anastasis_backup.c
+++ b/src/lib/anastasis_backup.c
@@ -595,13 +595,16 @@ policy_store_cb (void *cls,
           spr[off].provider_url = pss[i].anastasis_url;
           off++;
         }
-      sr.ss = ANASTASIS_SHARE_STATUS_SUCCESS;
       if (off > 0)
       {
         sr.ss = ANASTASIS_SHARE_STATUS_PAYMENT_REQUIRED;
         sr.details.payment_required.payment_requests = spr;
         sr.details.payment_required.payment_requests_length = pr_cnt;
       }
+      else
+      {
+        sr.ss = ANASTASIS_SHARE_STATUS_SUCCESS;
+      }
       ss->src (ss->src_cls,
                &sr);
     }

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