aboutsummaryrefslogtreecommitdiff
path: root/src/ats/ats_api_performance.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-12 09:36:33 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-12 09:36:33 +0200
commit99f8204531ebb4d388eec7919afd4b7a3ae0b096 (patch)
tree8c606540b59d1cf0d8ee23114b54112c271af400 /src/ats/ats_api_performance.c
parentbe3bbfb4728669698ad7dabb5e0d8648d31a43a8 (diff)
downloadgnunet-99f8204531ebb4d388eec7919afd4b7a3ae0b096.tar.gz
gnunet-99f8204531ebb4d388eec7919afd4b7a3ae0b096.zip
fix: GNUNET_is_zero(ptr) should return enum GNUNET_GenericReturnValue. Fixes #6475.
Diffstat (limited to 'src/ats/ats_api_performance.c')
-rw-r--r--src/ats/ats_api_performance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c
index acc9356ed..7349fb989 100644
--- a/src/ats/ats_api_performance.c
+++ b/src/ats/ats_api_performance.c
@@ -496,7 +496,7 @@ handle_address_list (void *cls,
496 return; /* was canceled */ 496 return; /* was canceled */
497 497
498 memset (&allzeros, '\0', sizeof(allzeros)); 498 memset (&allzeros, '\0', sizeof(allzeros));
499 if ((0 == GNUNET_is_zero (&pi->peer)) && 499 if ((GNUNET_YES == GNUNET_is_zero (&pi->peer)) &&
500 (0 == plugin_name_length) && 500 (0 == plugin_name_length) &&
501 (0 == plugin_address_length)) 501 (0 == plugin_address_length))
502 { 502 {