diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-08-12 09:36:33 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-08-12 09:36:33 +0200 |
commit | 99f8204531ebb4d388eec7919afd4b7a3ae0b096 (patch) | |
tree | 8c606540b59d1cf0d8ee23114b54112c271af400 /src/transport | |
parent | be3bbfb4728669698ad7dabb5e0d8648d31a43a8 (diff) | |
download | gnunet-99f8204531ebb4d388eec7919afd4b7a3ae0b096.tar.gz gnunet-99f8204531ebb4d388eec7919afd4b7a3ae0b096.zip |
fix: GNUNET_is_zero(ptr) should return enum GNUNET_GenericReturnValue. Fixes #6475.
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/gnunet-service-tng.c | 2 |
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, | |||
3209 | continue; | 3209 | continue; |
3210 | if (tc->details.monitor.one_shot) | 3210 | if (tc->details.monitor.one_shot) |
3211 | continue; | 3211 | continue; |
3212 | if ((0 != GNUNET_is_zero (&tc->details.monitor.peer)) && | 3212 | if ((GNUNET_NO == GNUNET_is_zero (&tc->details.monitor.peer)) && |
3213 | (0 != GNUNET_memcmp (&tc->details.monitor.peer, peer))) | 3213 | (0 != GNUNET_memcmp (&tc->details.monitor.peer, peer))) |
3214 | continue; | 3214 | continue; |
3215 | notify_monitor (tc, peer, address, nt, me); | 3215 | notify_monitor (tc, peer, address, nt, me); |