From 5f268913ddfac25f8d16c3216bba23535e2bd798 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 11 May 2021 19:17:09 +0200 Subject: return NO if forgetting did not work because it was already forgotten earlier --- src/include/taler_json_lib.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include/taler_json_lib.h') diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h index f61e2c0fd..bf8c22177 100644 --- a/src/include/taler_json_lib.h +++ b/src/include/taler_json_lib.h @@ -215,7 +215,9 @@ TALER_JSON_contract_mark_forgettable (json_t *json, * * @param[in,out] json some JSON object to modify * @param field name of the field to forget - * @return #GNUNET_OK on success, #GNUNET_SYSERR on error + * @return #GNUNET_OK on success, + * #GNUNET_NO if the field was already forgotten before + * #GNUNET_SYSERR on error */ int TALER_JSON_contract_part_forget (json_t *json, -- cgit v1.2.3