summaryrefslogtreecommitdiff
path: root/src/include/taler_json_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-11 19:17:09 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-11 19:17:09 +0200
commit5f268913ddfac25f8d16c3216bba23535e2bd798 (patch)
treea40f39e33122bc24b5412460880884a626a930b1 /src/include/taler_json_lib.h
parent684a2342645f3b44b823a907f0309eb4fcfba50b (diff)
downloadexchange-5f268913ddfac25f8d16c3216bba23535e2bd798.tar.gz
exchange-5f268913ddfac25f8d16c3216bba23535e2bd798.tar.bz2
exchange-5f268913ddfac25f8d16c3216bba23535e2bd798.zip
return NO if forgetting did not work because it was already forgotten earlier
Diffstat (limited to 'src/include/taler_json_lib.h')
-rw-r--r--src/include/taler_json_lib.h4
1 files changed, 3 insertions, 1 deletions
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,