aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/namestore_api_monitor.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/namestore/namestore_api_monitor.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/namestore/namestore_api_monitor.c')
-rw-r--r--src/namestore/namestore_api_monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/namestore_api_monitor.c b/src/namestore/namestore_api_monitor.c
index ab6140328..9dc955544 100644
--- a/src/namestore/namestore_api_monitor.c
+++ b/src/namestore/namestore_api_monitor.c
@@ -139,7 +139,7 @@ check_result (void *cls, const struct RecordResultMessage *lrm)
139 139
140 (void) cls; 140 (void) cls;
141 if ((0 != GNUNET_memcmp (&lrm->private_key, &zm->zone)) && 141 if ((0 != GNUNET_memcmp (&lrm->private_key, &zm->zone)) &&
142 (0 != GNUNET_is_zero (&zm->zone))) 142 (GNUNET_NO == GNUNET_is_zero (&zm->zone)))
143 { 143 {
144 GNUNET_break (0); 144 GNUNET_break (0);
145 return GNUNET_SYSERR; 145 return GNUNET_SYSERR;