From 6404213457fbb9ddd089d556d95d841e21754ff8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 13 Mar 2015 10:01:57 +0100 Subject: use wire validation routine --- src/include/taler_json_lib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 2b9d5187..ffa440d5 100644 --- a/src/include/taler_json_lib.h +++ b/src/include/taler_json_lib.h @@ -139,11 +139,11 @@ TALER_JSON_to_data (json_t *json, * * @param type the type of the wire format * @param wire the JSON wire format object - * @return 1 if correctly formatted; 0 if not + * @return #GNUNET_YES if correctly formatted; #GNUNET_NO if not */ int TALER_JSON_validate_wireformat (const char *type, - json_t *wire); + const json_t *wire); #endif /* TALER_JSON_LIB_H_ */ -- cgit v1.2.3