-fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 26 Oct 2015 17:15:58 +0000 (17:15 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 26 Oct 2015 17:15:58 +0000 (17:15 +0000)
src/transport/gnunet-service-transport_validation.c

index 9b69b5ddd62fda73b348ad784273e4274b2ec6c8..2f303b67568e2d6609ddb7ea97170d21597626bb 100644 (file)
@@ -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))
   {