summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_validation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.c')
-rw-r--r--src/transport/gnunet-service-transport_validation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c
index 9b69b5ddd..2f303b675 100644
--- a/src/transport/gnunet-service-transport_validation.c
+++ b/src/transport/gnunet-service-transport_validation.c
@@ -1064,7 +1064,7 @@ GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender,
memcmp (&GST_my_identity,
sender,
sizeof (struct GNUNET_PeerIdentity)))
- return; /* our own, ignore! */
+ return GNUNET_OK; /* our own, ignore! */
if (ntohs (hdr->size) < sizeof (struct TransportPingMessage))
{
GNUNET_break_op (0);
@@ -1397,7 +1397,7 @@ GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender,
memcmp (&GST_my_identity,
sender,
sizeof (struct GNUNET_PeerIdentity)))
- return; /* our own, ignore! */
+ return GNUNET_OK; /* our own, ignore! */
if (ntohs (hdr->size) < sizeof (struct TransportPongMessage))
{