merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 7b99f77091ea2a5b74b12777ef78f6b7b6f25dae
parent 87acbea142ed659823c249320e64c45ecba1882b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 13 Jul 2026 00:27:19 +0200

correctly handle partial writes

Diffstat:
Msrc/backend/taler-merchant-report-generator.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-report-generator.c b/src/backend/taler-merchant-report-generator.c @@ -477,8 +477,8 @@ transmit_report (struct ReportActivity *ra, ssize_t wrote; wrote = GNUNET_DISK_file_write (stdin_handle, - report, - report_len); + report + off, + report_len - off); if (wrote <= 0) break; off += (size_t) wrote;