From fcaae74db237d96033a539209d8110f28666588d Mon Sep 17 00:00:00 2001 From: ng0 Date: Mon, 9 Sep 2019 08:10:49 +0000 Subject: [PATCH] plibc removal (CLOSE->close) --- src/gns/gnunet-bcd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gns/gnunet-bcd.c b/src/gns/gnunet-bcd.c index 181c30d8d..681b30d2d 100644 --- a/src/gns/gnunet-bcd.c +++ b/src/gns/gnunet-bcd.c @@ -239,7 +239,7 @@ access_handler_callback(void *cls, (response = MHD_create_response_from_fd((size_t)st.st_size, fd))) { GNUNET_break(0); - GNUNET_break(0 == CLOSE(fd)); + GNUNET_break(0 == close(fd)); GNUNET_free(deffile); GNUNET_free(p); GNUNET_DISK_directory_remove(tmp); @@ -455,7 +455,7 @@ run(void *cls, { GNUNET_log_strerror_file(GNUNET_ERROR_TYPE_ERROR, "open", fn); GNUNET_free(fn); - GNUNET_break(0 == CLOSE(fd)); + GNUNET_break(0 == close(fd)); return; } GNUNET_free(fn); @@ -463,7 +463,7 @@ run(void *cls, (main_response = MHD_create_response_from_fd((size_t)st.st_size, fd))) { GNUNET_break(0); - GNUNET_break(0 == CLOSE(fd)); + GNUNET_break(0 == close(fd)); return; } (void)MHD_add_response_header(main_response, -- 2.25.1