diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-01 11:07:03 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-01 11:07:03 +0900 |
commit | 5c9108a6c08ee6d242cd797d9b0232bbc8ee48df (patch) | |
tree | 02f07c6d500263e7524bd2fc97cbace3feb9893e /src/reclaim | |
parent | 6254d688ac407ec60bea0e317a15978eac60b16f (diff) | |
download | gnunet-5c9108a6c08ee6d242cd797d9b0232bbc8ee48df.tar.gz gnunet-5c9108a6c08ee6d242cd797d9b0232bbc8ee48df.zip |
- various return value assertions
Diffstat (limited to 'src/reclaim')
-rw-r--r-- | src/reclaim/plugin_rest_openid_connect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c index 7ab603768..7bb249c68 100644 --- a/src/reclaim/plugin_rest_openid_connect.c +++ b/src/reclaim/plugin_rest_openid_connect.c | |||
@@ -682,9 +682,9 @@ do_error (void *cls) | |||
682 | MHD_add_response_header (resp, | 682 | MHD_add_response_header (resp, |
683 | MHD_HTTP_HEADER_WWW_AUTHENTICATE, | 683 | MHD_HTTP_HEADER_WWW_AUTHENTICATE, |
684 | "Basic")); | 684 | "Basic")); |
685 | MHD_add_response_header (resp, | 685 | GNUNET_assert (MHD_NO != MHD_add_response_header (resp, |
686 | MHD_HTTP_HEADER_CONTENT_TYPE, | 686 | MHD_HTTP_HEADER_CONTENT_TYPE, |
687 | "application/json"); | 687 | "application/json")); |
688 | handle->proc (handle->proc_cls, resp, handle->response_code); | 688 | handle->proc (handle->proc_cls, resp, handle->response_code); |
689 | cleanup_handle (handle); | 689 | cleanup_handle (handle); |
690 | GNUNET_free (json_error); | 690 | GNUNET_free (json_error); |