challenger

OAuth 2.0-based authentication service that validates user can receive messages at a certain address
Log | Files | Refs | Submodules | README | LICENSE

commit 181b5254ae09adc999c13f9a31a6269813d6036d
parent eeffb7a69caa1bf34800fd8d1ca8bc8893bbc2c5
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 24 Aug 2024 23:06:06 +0200

check return values

Diffstat:
Msrc/challenger/challenger-httpd_challenge.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/challenger/challenger-httpd_challenge.c b/src/challenger/challenger-httpd_challenge.c @@ -342,7 +342,8 @@ send_tan (struct ChallengeContext *bc) MHD_RESULT mres; GNUNET_break (0); - GNUNET_DISK_pipe_close (p); + GNUNET_break (GNUNET_OK == + GNUNET_DISK_pipe_close (p)); mres = reply_error (bc, "internal-error", MHD_HTTP_INTERNAL_SERVER_ERROR, @@ -356,7 +357,8 @@ send_tan (struct ChallengeContext *bc) pipe_stdin = GNUNET_DISK_pipe_detach_end (p, GNUNET_DISK_PIPE_END_WRITE); GNUNET_assert (NULL != pipe_stdin); - GNUNET_DISK_pipe_close (p); + GNUNET_break (GNUNET_OK == + GNUNET_DISK_pipe_close (p)); GNUNET_asprintf (&msg, "PIN: %u",