diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-18 08:02:14 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-18 08:02:14 +0000 |
commit | 34c9f5478af3cf0a1daf9b2ba1e2f2a59df538e6 (patch) | |
tree | 57d000eb1f84864437d1044b14da76d3d29140fe /src/ats/gnunet-service-ats_normalization.c | |
parent | 4eb6bd1f6824d21fa561d0c608d8688b80e8275b (diff) | |
download | gnunet-34c9f5478af3cf0a1daf9b2ba1e2f2a59df538e6.tar.gz gnunet-34c9f5478af3cf0a1daf9b2ba1e2f2a59df538e6.zip |
changes
Diffstat (limited to 'src/ats/gnunet-service-ats_normalization.c')
-rw-r--r-- | src/ats/gnunet-service-ats_normalization.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ats/gnunet-service-ats_normalization.c b/src/ats/gnunet-service-ats_normalization.c index 54714aa26..1f812ebda 100644 --- a/src/ats/gnunet-service-ats_normalization.c +++ b/src/ats/gnunet-service-ats_normalization.c | |||
@@ -422,6 +422,9 @@ GAS_normalization_change_preference (void *src, | |||
422 | const double * | 422 | const double * |
423 | GAS_normalization_get_preferences (struct GNUNET_PeerIdentity *id) | 423 | GAS_normalization_get_preferences (struct GNUNET_PeerIdentity *id) |
424 | { | 424 | { |
425 | GNUNET_assert (NULL != peers); | ||
426 | GNUNET_assert (NULL != id); | ||
427 | |||
425 | struct PeerRelative *rp; | 428 | struct PeerRelative *rp; |
426 | if (NULL == (rp = GNUNET_CONTAINER_multihashmap_get (peers, &id->hashPubKey))) | 429 | if (NULL == (rp = GNUNET_CONTAINER_multihashmap_get (peers, &id->hashPubKey))) |
427 | { | 430 | { |