[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] 02/03: fix recovery document upload without previousha
From: |
gnunet |
Subject: |
[taler-anastasis] 02/03: fix recovery document upload without previoushash problem |
Date: |
Wed, 17 Jun 2020 19:34:53 +0200 |
This is an automated email from the git hooks/post-receive script.
dennis-neufeld pushed a commit to branch master
in repository anastasis.
commit fc65358074d64288372557f13b8a1f76b499a9a9
Author: Dennis Neufeld <dennis.neufeld@students.bfh.ch>
AuthorDate: Wed Jun 17 16:55:26 2020 +0000
fix recovery document upload without previoushash problem
---
src/backend/anastasis-httpd_policy_upload.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/backend/anastasis-httpd_policy_upload.c
b/src/backend/anastasis-httpd_policy_upload.c
index f721498..5c29894 100644
--- a/src/backend/anastasis-httpd_policy_upload.c
+++ b/src/backend/anastasis-httpd_policy_upload.c
@@ -884,16 +884,19 @@ AH_handler_policy_post (struct MHD_Connection *connection,
MHD_destroy_response (resp);
return ret;
}
+ /**
+ * FIXME: useful?
if (0 != GNUNET_memcmp (&hc,
&puc->old_policy_upload_hash))
{
- /* Refuse upload: if-none-match failed! */
+ // Refuse upload: if-none-match failed!
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Conflict detected, returning existing recovery
document\n");
return AH_return_policy (connection,
&accountPubP,
MHD_HTTP_CONFLICT);
}
+ */
}
/* check if the client insists on paying */
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.