summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-tng.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/transport/gnunet-service-tng.c
parentbe3bbfb4728669698ad7dabb5e0d8648d31a43a8 (diff)
fix: GNUNET_is_zero(ptr) should return enum GNUNET_GenericReturnValue. Fixes #6475.
Diffstat (limited to 'src/transport/gnunet-service-tng.c')
-rw-r--r--src/transport/gnunet-service-tng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-tng.c b/src/transport/gnunet-service-tng.c
index baefdfa88..2f6e17f3b 100644
--- a/src/transport/gnunet-service-tng.c
+++ b/src/transport/gnunet-service-tng.c
@@ -3209,7 +3209,7 @@ notify_monitors (const struct GNUNET_PeerIdentity *peer,
continue;
if (tc->details.monitor.one_shot)
continue;
- if ((0 != GNUNET_is_zero (&tc->details.monitor.peer)) &&
+ if ((GNUNET_NO == GNUNET_is_zero (&tc->details.monitor.peer)) &&
(0 != GNUNET_memcmp (&tc->details.monitor.peer, peer)))
continue;
notify_monitor (tc, peer, address, nt, me);