gnunet-svn
[Top][All Lists]
Advanced

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

[taler-donau] branch master updated: exclude history


From: gnunet
Subject: [taler-donau] branch master updated: exclude history
Date: Thu, 18 Jan 2024 11:25:12 +0100

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

johannes-casaburi pushed a commit to branch master
in repository donau.

The following commit(s) were added to refs/heads/master by this push:
     new 9e51b37  exclude history
9e51b37 is described below

commit 9e51b37be029eaf58f0f34e59440e8b4e46f7e3d
Author: Casaburi Johannes <johannes.casaburi@students.bfh.ch>
AuthorDate: Thu Jan 18 11:24:19 2024 +0100

    exclude history
---
 src/donau/Makefile.am                 |  1 -
 src/donau/donau-httpd.c               |  4 ++--
 src/donau/donau-httpd_charity.h       |  3 +--
 src/donau/donau-httpd_get-charities.c | 12 +-----------
 4 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/src/donau/Makefile.am b/src/donau/Makefile.am
index 79736dd..c3baed9 100644
--- a/src/donau/Makefile.am
+++ b/src/donau/Makefile.am
@@ -45,7 +45,6 @@ donau_httpd_SOURCES = \
   donau-httpd_config.c donau-httpd_config.h \
   donau-httpd_get-charities.c donau_httpd_charity.h \
   donau-httpd_get-charity.c donau-httpd_post-charity.c \
-  donau-httpd_get-history-entry.c donau-httpd_history.h \
   donau-httpd_get-history.c \
   donau-httpd_post-submit-receipt.c donau_httpd_receipt.h \
   donau-httpd_terms.c donau-httpd_terms.h
diff --git a/src/donau/donau-httpd.c b/src/donau/donau-httpd.c
index f97c687..11573a6 100644
--- a/src/donau/donau-httpd.c
+++ b/src/donau/donau-httpd.c
@@ -401,12 +401,12 @@ handle_get_charities (struct DH_RequestContext *rc,
 {
   if (NULL == args[0])
   {
-    return DH_handler_charities_get (rc, NULL);
+    return DH_handler_charities_get (rc);
   }
   else
   {
     return DH_handler_charity_get (rc,
-                                   args[0]);
+                                   &args[0]);
   }
 }
 
diff --git a/src/donau/donau-httpd_charity.h b/src/donau/donau-httpd_charity.h
index b682c38..c815761 100644
--- a/src/donau/donau-httpd_charity.h
+++ b/src/donau/donau-httpd_charity.h
@@ -61,7 +61,6 @@ DH_handler_charity_get (
  */
 MHD_RESULT
 DH_handler_charities_get (
-  struct DH_RequestContext *rc,
-  const char *const args[]);
+  struct DH_RequestContext *rc);
 
 #endif
diff --git a/src/donau/donau-httpd_get-charities.c 
b/src/donau/donau-httpd_get-charities.c
index 39f9ce8..038411f 100644
--- a/src/donau/donau-httpd_get-charities.c
+++ b/src/donau/donau-httpd_get-charities.c
@@ -75,19 +75,9 @@ charities_cb (
 
 MHD_RESULT
 DH_handler_charities_get (
-  struct DH_RequestContext *rc,
-  const char *const args[])
+  struct DH_RequestContext *rc)
 {
 
-  if (NULL != args[1])
-  {
-    GNUNET_break_op (0);
-    return TALER_MHD_reply_with_error (rc->connection,
-                                       MHD_HTTP_BAD_REQUEST,
-                                       TALER_EC_GENERIC_ENDPOINT_UNKNOWN,
-                                       args[1]);
-  }
-
   {
     json_t *charities;
     enum GNUNET_DB_QueryStatus qs;

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