exchange

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

commit 8161623b60259b79d85d25b1f846cc084d7cc061
parent 32f46e6f7def90cecdf8ab9c8b3abafc48a6da61
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 30 Jun 2026 23:15:53 +0200

try to remove temporary file if we could not even open it

Diffstat:
Msrc/mhd/mhd_typst.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mhd/mhd_typst.c b/src/mhd/mhd_typst.c @@ -235,6 +235,10 @@ inline_pdf_stage (struct TypstStage *stage, GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "open", stage->filename); + if (0 != unlink (stage->filename)) + GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, + "unlink", + stage->filename); GNUNET_free (b); GNUNET_free (stage->filename); return false;