From 3d3109aa4c8c25d9292e9e94d878121af0084d07 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 27 Oct 2015 13:22:47 +0000 Subject: [PATCH] -simplify --- src/ats/gnunet-service-ats_performance.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index 654704df8..a7b4b9bb2 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c @@ -161,8 +161,8 @@ GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer, struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in) { - if (NULL != prop) - GNUNET_break (GNUNET_ATS_NET_UNSPECIFIED != prop->scope); + GNUNET_break ( (NULL == prop) || + (GNUNET_ATS_NET_UNSPECIFIED != prop->scope) ); notify_client (NULL, peer, plugin_name, -- 2.25.1