From 12923bdf50cb6ca79cfb86247bf16b5d83e47536 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 7 Sep 2019 09:16:45 +0000 Subject: [PATCH] fix variable names renamed by search and replace. --- src/arm/gnunet-service-arm.c | 6 +++--- src/util/container_bloomfilter.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/arm/gnunet-service-arm.c b/src/arm/gnunet-service-arm.c index a05257563..b0f7e07c4 100644 --- a/src/arm/gnunet-service-arm.c +++ b/src/arm/gnunet-service-arm.c @@ -31,7 +31,7 @@ #define LOG(kind, ...) GNUNET_log_from (kind, "util", __VA_ARGS__) -#define LOG_strerror(kind, syscall) \ +#define LOG_STRERROR(kind, syscall) \ GNUNET_log_from_strerror (kind, "util", syscall) @@ -373,7 +373,7 @@ get_server_addresses (const char *service_name, if ((ENOBUFS == errno) || (ENOMEM == errno) || (ENFILE == errno) || (EACCES == errno)) { - LOG_strerror (GNUNET_ERROR_TYPE_ERROR, "socket"); + LOG_STRERROR (GNUNET_ERROR_TYPE_ERROR, "socket"); return GNUNET_SYSERR; } LOG (GNUNET_ERROR_TYPE_INFO, @@ -464,7 +464,7 @@ get_server_addresses (const char *service_name, if ((ENOBUFS == errno) || (ENOMEM == errno) || (ENFILE == errno) || (EACCES == errno)) { - LOG_strerror (GNUNET_ERROR_TYPE_ERROR, "socket"); + LOG_STRERROR (GNUNET_ERROR_TYPE_ERROR, "socket"); GNUNET_free_non_null (hostname); GNUNET_free (unixpath); return GNUNET_SYSERR; diff --git a/src/util/container_bloomfilter.c b/src/util/container_bloomfilter.c index fe7d86421..a4033defe 100644 --- a/src/util/container_bloomfilter.c +++ b/src/util/container_bloomfilter.c @@ -45,10 +45,10 @@ #define LOG(kind, ...) \ GNUNET_log_from (kind, "util-container-bloomfilter", __VA_ARGS__) -#define LOG_strerror(kind, syscall) \ +#define LOG_STRERROR(kind, syscall) \ GNUNET_log_from_strerror (kind, "util-container-bloomfilter", syscall) -#define LOG_strerror_FILE(kind, syscall, filename) \ +#define LOG_STRERROR_FILE(kind, syscall, filename) \ GNUNET_log_from_strerror_file (kind, \ "util-container-bloomfilter", \ syscall, \ @@ -599,7 +599,7 @@ GNUNET_CONTAINER_bloomfilter_load (const char *filename, res = GNUNET_DISK_file_read (bf->fh, rbuff, BUFFSIZE); if (res == -1) { - LOG_strerror_FILE (GNUNET_ERROR_TYPE_WARNING, "read", bf->filename); + LOG_STRERROR_FILE (GNUNET_ERROR_TYPE_WARNING, "read", bf->filename); GNUNET_free (rbuff); GNUNET_free (bf->filename); GNUNET_DISK_file_close (bf->fh); -- 2.25.1