From cb8d8079b402d69f1fa92ccdb5242e117493e174 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 21 May 2014 08:02:38 +0000 Subject: performance API indicates disconnect --- src/fs/gnunet-service-fs.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/fs/gnunet-service-fs.c') diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index 59786bae81..fd776e7b83 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c @@ -254,6 +254,12 @@ update_latencies (void *cls, unsigned int i; struct GNUNET_TIME_Relative latency; + if (NULL == address) + { + /* ATS service temporarily disconnected */ + return; + } + if (GNUNET_YES != active) return; for (i = 0; i < ats_count; i++) -- cgit v1.2.3-18-g5258