diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-05-21 08:02:38 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-05-21 08:02:38 +0000 |
commit | cb8d8079b402d69f1fa92ccdb5242e117493e174 (patch) | |
tree | a9786560574bf0fd9e6cec9b0448dff14868f01b /src/fs/gnunet-service-fs.c | |
parent | 3a33753786eca144a1dd2c3c4884b78774f29e3b (diff) |
performance API indicates disconnect
Diffstat (limited to 'src/fs/gnunet-service-fs.c')
-rw-r--r-- | src/fs/gnunet-service-fs.c | 6 |
1 files changed, 6 insertions, 0 deletions
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++) |