commit a75ece57a8f534f98db1ed2f01be073918396aa5 parent 5973ebd3d0204ae525c5e71c5c06704550141139 Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 21 Apr 2026 22:23:21 +0200 -cov fixes Diffstat:
| M | src/lib/merchant_api_patch-private-otp-devices-DEVICE_ID.c | | | 8 | +++++--- |
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/lib/merchant_api_patch-private-otp-devices-DEVICE_ID.c b/src/lib/merchant_api_patch-private-otp-devices-DEVICE_ID.c @@ -257,9 +257,11 @@ TALER_MERCHANT_patch_private_otp_device_start ( odh->otp_key))); if (odh->have_otp_ctr) { - json_object_set_new (req_obj, - "otp_ctr", - json_integer ((json_int_t) odh->otp_ctr)); + GNUNET_assert ( + 0 == + json_object_set_new (req_obj, + "otp_ctr", + json_integer ((json_int_t) odh->otp_ctr))); } eh = TALER_MERCHANT_curl_easy_get_ (odh->url); if ( (NULL == eh) ||