commit 30d176988c42fcde417e99532efe260cb0a93e40
parent d3aca7a024fd5b1fe30b82fc618652a37fe2b8a8
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 2 Aug 2026 22:55:29 +0200
only log if adding Paivana header failed
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/paivana-httpd_templates.c b/src/backend/paivana-httpd_templates.c
@@ -343,10 +343,10 @@ load_paywall (struct MHD_Connection *conn,
t->template_id);
if (NULL != uri)
{
- GNUNET_assert (MHD_YES ==
- MHD_add_response_header (reply,
- "Paivana",
- uri));
+ GNUNET_break (MHD_YES ==
+ MHD_add_response_header (reply,
+ "Paivana",
+ uri));
GNUNET_free (uri);
}
}