exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 19b7901c6562b2b1615f0f1b1d9ffbce50c419dc
parent 611e5722b528acdc54af9469e976c206983710e6
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  9 Aug 2024 17:57:48 +0200

-allow NULL cb

Diffstat:
Msrc/exchange/taler-exchange-httpd_responses.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c @@ -366,8 +366,9 @@ TEH_RESPONSE_reply_not_modified ( resp = MHD_create_response_from_buffer (0, NULL, MHD_RESPMEM_PERSISTENT); - cb (cb_cls, - resp); + if (NULL != cb) + cb (cb_cls, + resp); GNUNET_break (MHD_YES == MHD_add_response_header (resp, MHD_HTTP_HEADER_ETAG,