summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_validation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-26 17:15:58 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-26 17:15:58 +0000
commit439ed1a79cc8b11a546656f406c0819a65330ae5 (patch)
tree943157f15cb6d950970485a18278f04e58289a79 /src/transport/gnunet-service-transport_validation.c
parentdf25cbb3de762201f1635fa6e4c1f5b42e2052af (diff)
-fix
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))
{