diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-22 13:51:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-22 13:51:40 +0000 |
commit | c69208ff1c3e6dc512c318a4dfe528b656f643a5 (patch) | |
tree | 458291b93db832ae3b3f3141adbc13b5f76d7a9f /src/fs | |
parent | 0c210cc47cee6e65f7c93dc825ff24e7f7a9031e (diff) | |
download | gnunet-c69208ff1c3e6dc512c318a4dfe528b656f643a5.tar.gz gnunet-c69208ff1c3e6dc512c318a4dfe528b656f643a5.zip |
crash less hard
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/gnunet-service-fs.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index da0e2a28f..9c1b3f04f 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c | |||
@@ -1640,7 +1640,11 @@ peer_status_handler (void *cls, | |||
1640 | 1640 | ||
1641 | cp = GNUNET_CONTAINER_multihashmap_get (connected_peers, | 1641 | cp = GNUNET_CONTAINER_multihashmap_get (connected_peers, |
1642 | &peer->hashPubKey); | 1642 | &peer->hashPubKey); |
1643 | GNUNET_assert (cp != NULL); | 1643 | if (cp == NULL) |
1644 | { | ||
1645 | GNUNET_break (0); | ||
1646 | return; | ||
1647 | } | ||
1644 | GNUNET_LOAD_value_set_decline (cp->transmission_delay, | 1648 | GNUNET_LOAD_value_set_decline (cp->transmission_delay, |
1645 | latency); | 1649 | latency); |
1646 | } | 1650 | } |