From: Matthias Wachs Date: Wed, 2 Nov 2011 17:05:22 +0000 (+0000) Subject: remov break_op X-Git-Tag: initial-import-from-subversion-38251~16091 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=abc8a1a1d9fafdb3ea1921852643e1b477a3f888;p=oweals%2Fgnunet.git remov break_op --- diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c index 71acd1181..9d543f2cb 100644 --- a/src/transport/gnunet-service-transport_validation.c +++ b/src/transport/gnunet-service-transport_validation.c @@ -594,7 +594,9 @@ GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, memcmp (&ping->target, &GST_my_identity, sizeof (struct GNUNET_PeerIdentity))) { - GNUNET_break_op (0); + GNUNET_STATISTICS_update (GST_stats, + gettext_noop ("# PING message for different peer received"), 1, + GNUNET_NO); return; } GNUNET_STATISTICS_update (GST_stats,