commit d860ef83458977e76b036884606ad7dafd30e580
parent ee010e912f7ac09ea97c052db9229eae69426b5e
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sat, 5 Jul 2025 10:31:04 +0200
null check fix
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/sync/sync-httpd2_backup-post.c b/src/sync/sync-httpd2_backup-post.c
@@ -607,7 +607,8 @@ handle_database_error (struct BackupContext *bc,
order_id = MHD_request_get_value (bc->request,
MHD_VK_GET_ARGUMENT,
"paying");
- if (NULL == order_id)
+ if ( (NULL == order_id) ||
+ (NULL == order_id->cstr) )
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Payment required, starting payment process\n");